Makefile: remove unused $SCRIPTS
This commit is contained in:
parent
26bd89f681
commit
870b024671
10
Makefile
10
Makefile
|
@ -38,7 +38,7 @@ all: ${BIN}
|
||||||
dist:
|
dist:
|
||||||
rm -rf ${NAME}-${VERSION}
|
rm -rf ${NAME}-${VERSION}
|
||||||
mkdir -p ${NAME}-${VERSION}
|
mkdir -p ${NAME}-${VERSION}
|
||||||
cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \
|
cp -f ${MAN1} ${HDR} ${SRC} ${COMPATSRC} ${DOC} \
|
||||||
Makefile config.mk favicon.png logo.png style.css \
|
Makefile config.mk favicon.png logo.png style.css \
|
||||||
example_create.sh example_post-receive.sh \
|
example_create.sh example_post-receive.sh \
|
||||||
${NAME}-${VERSION}
|
${NAME}-${VERSION}
|
||||||
|
@ -61,8 +61,8 @@ clean:
|
||||||
install: all
|
install: all
|
||||||
# installing executable files.
|
# installing executable files.
|
||||||
mkdir -p ${DESTDIR}${PREFIX}/bin
|
mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||||
cp -f ${BIN} ${SCRIPTS} ${DESTDIR}${PREFIX}/bin
|
cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
|
||||||
for f in ${BIN} ${SCRIPTS}; do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; done
|
for f in ${BIN}; do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; done
|
||||||
# installing example files.
|
# installing example files.
|
||||||
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
|
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
|
||||||
cp -f style.css\
|
cp -f style.css\
|
||||||
|
@ -78,8 +78,8 @@ install: all
|
||||||
for m in ${MAN1}; do chmod 644 ${DESTDIR}${MANPREFIX}/man1/$$m; done
|
for m in ${MAN1}; do chmod 644 ${DESTDIR}${MANPREFIX}/man1/$$m; done
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
# removing executable files and scripts.
|
# removing executable files.
|
||||||
for f in ${BIN} ${SCRIPTS}; do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
|
for f in ${BIN}; do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
|
||||||
# removing example files.
|
# removing example files.
|
||||||
rm -f \
|
rm -f \
|
||||||
${DESTDIR}${PREFIX}/share/${NAME}/style.css\
|
${DESTDIR}${PREFIX}/share/${NAME}/style.css\
|
||||||
|
|
Loading…
Reference in a new issue