mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 15:05:27 +00:00
Try and detect an old-style config file and print an appropriate error
message and a suggestion for correcting it. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@81 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -75,3 +75,9 @@ ${DOCDIR}/avrprog.pdf : avrprog.pdf
|
||||
${CONFIGDIR}/avrprog.conf.sample : avrprog.conf.sample
|
||||
${INSTALL_DATA} avrprog.conf.sample $@
|
||||
|
||||
${CONFIGDIR}/avrprog.conf : avrprog.conf.sample
|
||||
@if [ -f ${CONFIGDIR}/avrprog.conf ]; then \
|
||||
cp -p ${CONFIGDIR}/avrprog.conf ${CONFIGDIR}/avrprog.conf.old; \
|
||||
fi
|
||||
${INSTALL_DATA} avrprog.conf.sample $@
|
||||
|
||||
|
Reference in New Issue
Block a user