diff options
author | merakor <cem@ckyln.com> | 2020-12-24 15:04:54 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-12-24 15:04:54 +0000 |
commit | f1e84e565fc534fd4795fadf6bafa0f30b0520ba (patch) | |
tree | fa52ce5b7213c3691a3b24bf77b051ef03630b87 | |
parent | 246eeaa2169dd7e0cf485b52a36f7ce64e72a80e (diff) | |
download | cpt-f1e84e565fc534fd4795fadf6bafa0f30b0520ba.tar.gz |
Makefile: fix installing files other than cpt-*
FossilOrigin-Name: 76e5ec56a8f045f2b4a31feb4cacfdf02cc6cd86cf7d7884ff48addc4862e5aa
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -33,23 +33,23 @@ install-bin: ${BIN} install -Dm755 $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; done install-src: - for bin in src/*; do \ + for bin in src/cpt-*; do \ install -Dm755 $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; done install-contrib: - for bin in contrib/*; do \ + for bin in contrib/cpt-*; do \ install -Dm755 $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; done install-contrib-static: mkdir -p ${DESTDIR}${BINDIR} - for bin in contrib/*; do \ + for bin in contrib/cpt-*; do \ sed '/\. cpt-lib/r src/cpt-lib' $${bin} | \ sed '/\. cpt-lib/d' > ${DESTDIR}${BINDIR}/$${bin##*/}; \ chmod 755 ${DESTDIR}${BINDIR}/$${bin##*/}; done install-src-static: mkdir -p ${DESTDIR}${BINDIR} - for bin in src/*; do \ + for bin in src/cpt-*; do \ sed '/\. cpt-lib/r src/cpt-lib' $${bin} | \ sed '/\. cpt-lib/d' > ${DESTDIR}${BINDIR}/$${bin##*/}; \ chmod 755 ${DESTDIR}${BINDIR}/$${bin##*/}; done @@ -61,7 +61,7 @@ install: install-bin install-src install-contrib install-do install-static: install-bin install-src-static install-contrib-static install-doc uninstall: - for bin in ${BIN} src/* contrib/*; do \ + for bin in ${BIN} src/cpt-* contrib/cpt-*; do \ rm -f ${DESTDIR}${BINDIR}/$${bin##*/}; done for man in man/*; do rm -f ${DESTDIR}${MAN1}/$${man##*/}; done |