# HG changeset patch # User Mychaela Falconia # Date 1649096152 0 # Node ID e9c1f6d656545d13e05dfb4e801d206e2c525090 # Parent a4edf5415c7469c4e7da72f24660577fa6c4d27a make install support in batteries and charging subtrees modeled after fc-rfcal-tools/txlevels diff -r a4edf5415c74 -r e9c1f6d65654 Makefile --- a/Makefile Mon Apr 04 17:13:12 2022 +0000 +++ b/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -1,4 +1,4 @@ -SUBDIR= aud-caramel aud-fcdev3b +SUBDIR= aud-caramel aud-fcdev3b batteries charging all: ${SUBDIR} diff -r a4edf5415c74 -r e9c1f6d65654 batteries/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/batteries/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -0,0 +1,10 @@ +INSTDIR=/opt/freecalypso/batteries +FILES= pirelli + +all: + +install: + mkdir -p ${INSTDIR} + install -c -m 644 ${FILES} ${INSTDIR} + +clean: diff -r a4edf5415c74 -r e9c1f6d65654 charging/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -0,0 +1,15 @@ +SUBDIR= c1xx pirelli + +all: ${SUBDIR} + +${SUBDIR}: FRC + cd $@; ${MAKE} ${MFLAGS} + +clean: FRC + rm -f a.out core errs + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done + +install: FRC + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done + +FRC: diff -r a4edf5415c74 -r e9c1f6d65654 charging/c1xx/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/c1xx/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -0,0 +1,10 @@ +INSTDIR=/opt/freecalypso/charging/c1xx +FILES= standard + +all: + +install: + mkdir -p ${INSTDIR} + install -c -m 644 ${FILES} ${INSTDIR} + +clean: diff -r a4edf5415c74 -r e9c1f6d65654 charging/pirelli/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/pirelli/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -0,0 +1,10 @@ +INSTDIR=/opt/freecalypso/charging/pirelli +FILES= manual + +all: + +install: + mkdir -p ${INSTDIR} + install -c -m 644 ${FILES} ${INSTDIR} + +clean: