Attempt to install avrprog.conf.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@83 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2001-10-15 00:28:23 +00:00
parent a0ea22aee7
commit a7786a1a55
1 changed files with 7 additions and 6 deletions

View File

@ -52,8 +52,8 @@ install : dirs \
${BINDIR}/${TARGET} \ ${BINDIR}/${TARGET} \
${MANDIR}/${MANUAL} \ ${MANDIR}/${MANUAL} \
${DOCDIR}/avrprog.pdf \ ${DOCDIR}/avrprog.pdf \
${CONFIGDIR}/avrprog.conf.sample ${CONFIGDIR}/avrprog.conf.sample \
${CONFIGDIR}/avrprog.conf
dirs : dirs :
@for dir in ${DIRS}; do \ @for dir in ${DIRS}; do \
@ -77,6 +77,7 @@ ${CONFIGDIR}/avrprog.conf.sample : avrprog.conf.sample
${CONFIGDIR}/avrprog.conf : avrprog.conf.sample ${CONFIGDIR}/avrprog.conf : avrprog.conf.sample
@if [ -f ${CONFIGDIR}/avrprog.conf ]; then \ @if [ -f ${CONFIGDIR}/avrprog.conf ]; then \
echo "WARNING: backing up ${CONFIGDIR}/avrprog.conf to ${CONFIGDIR}/avrprog.conf.old"; \
cp -p ${CONFIGDIR}/avrprog.conf ${CONFIGDIR}/avrprog.conf.old; \ cp -p ${CONFIGDIR}/avrprog.conf ${CONFIGDIR}/avrprog.conf.old; \
fi fi
${INSTALL_DATA} avrprog.conf.sample $@ ${INSTALL_DATA} avrprog.conf.sample $@