diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-04 19:16:35 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-04 19:16:35 +0200 |
commit | e6bae389d62f6bab0d427e89c2ba11b1c8714f26 (patch) | |
tree | af95288ba751ae1be792fcb37640e3854708d8b8 /Makefile | |
parent | Should work now man (diff) | |
download | go2work-e6bae389d62f6bab0d427e89c2ba11b1c8714f26.tar.gz go2work-e6bae389d62f6bab0d427e89c2ba11b1c8714f26.tar.bz2 go2work-e6bae389d62f6bab0d427e89c2ba11b1c8714f26.tar.xz go2work-e6bae389d62f6bab0d427e89c2ba11b1c8714f26.tar.zst go2work-e6bae389d62f6bab0d427e89c2ba11b1c8714f26.zip |
Ok
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -11,7 +11,7 @@ # ======================== # # go2work: Makefile -# Mon Apr 4 18:29:15 CEST 2022 +# Mon Apr 4 18:43:18 CEST 2022 # Joe # # GNU Makefile @@ -42,7 +42,8 @@ MAN := $(addsuffix .1, ${TARGET}) MKDIR := mkdir -p RMDIR := rmdir -RM := rm -Rf +RM := rm -f +RMDIR := rmdir GZIP := gzip GUNZIP := gunzip INSTALL := install @@ -63,6 +64,10 @@ install-data: ${MKDIR} ${DESTDIR}share/${TARGET} ${INSTALL} -m0644 ${DATA_DIR}ring01.wav ${DESTDIR}share/${TARGET} ${INSTALL} -m0644 ${DATA_DIR}ring02.wav ${DESTDIR}share/${TARGET} + ${INSTALL} -m0644 ${DATA_DIR}${TARGET}.toml.sample ${DESTDIR}share/${TARGET} + ${INSTALL} -m0644 LICENSE ${DESTDIR}share/${TARGET} + ${INSTALL} -m0644 README ${DESTDIR}share/${TARGET} + ${INSTALL} -m0644 README.org ${DESTDIR}share/${TARGET} install-doc: ${MKDIR} ${DESTDIR}man/man1 @@ -74,7 +79,13 @@ install: install-bin install-data install-doc uninstall: ${RM} ${DESTDIR}bin/${TARGET} - ${RM} ${DESTDIR}share/${TARGET} + ${RM} ${DESTDIR}share/${TARGET}/ring01.wav + ${RM} ${DESTDIR}share/${TARGET}/ring02.wav + ${RM} ${DESTDIR}share/${TARGET}/${TARGET}.toml.sample + ${RM} ${DESTDIR}share/${TARGET}/LICENSE + ${RM} ${DESTDIR}share/${TARGET}/README + ${RM} ${DESTDIR}share/${TARGET}/README.org + ${RMDIR} ${DESTDIR}share/${TARGET} ${RM} ${DESTDIR}man/man1/${MAN}.gz clean: |