improve Makefile
dist: add favicon.png, config.def.h and example.sh install: install favicon.png and example.sh
This commit is contained in:
parent
6f7d23c5ea
commit
e451b0bf1d
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -31,8 +31,9 @@ dist: $(BIN)
|
|||
rm -rf release/${VERSION}
|
||||
mkdir -p release/${VERSION}
|
||||
cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \
|
||||
Makefile config.mk \
|
||||
logo.png style.css \
|
||||
Makefile config.def.h config.mk \
|
||||
favicon.png logo.png style.css \
|
||||
example.sh \
|
||||
release/${VERSION}/
|
||||
# make tarball
|
||||
rm -f stagit-${VERSION}.tar.gz
|
||||
|
@ -62,7 +63,9 @@ install: all
|
|||
# installing example files.
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
|
||||
cp -f style.css\
|
||||
favicon.png\
|
||||
logo.png\
|
||||
example.sh\
|
||||
README\
|
||||
${DESTDIR}${PREFIX}/share/${NAME}
|
||||
# installing manual pages.
|
||||
|
@ -76,7 +79,9 @@ uninstall:
|
|||
# removing example files.
|
||||
rm -f \
|
||||
${DESTDIR}${PREFIX}/share/${NAME}/style.css\
|
||||
${DESTDIR}${PREFIX}/share/${NAME}/favicon.png\
|
||||
${DESTDIR}${PREFIX}/share/${NAME}/logo.png\
|
||||
${DESTDIR}${PREFIX}/share/${NAME}/example.sh\
|
||||
${DESTDIR}${PREFIX}/share/${NAME}/README
|
||||
-rmdir ${DESTDIR}${PREFIX}/share/${NAME}
|
||||
# removing manual pages.
|
||||
|
|
Loading…
Reference in a new issue