An attempt to Prevent 'Is the same file' problems when doing a make config, when make config is now called, will copy files from /conf as .example files, will also put the examples from the doc dir there too, to make it easier to configure.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@911 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
frostycoolslug 2005-03-25 22:00:29 +00:00
parent b916fcbc05
commit eca163757e

View File

@ -33,7 +33,10 @@ echo " @cp src/inspircd \$(BINPATH)" >> Makefile
echo "" >> Makefile
echo "config:" >> Makefile
if [ -n "$COPY_CONF" ] ; then
echo " @cp conf/* \$(CONPATH)" >> Makefile
echo " @cp conf/inspire.motd \$(CONPATH)/inspire.motd.example" >> Makefile
echo " @cp conf/inspire.quotes \$(CONPATH)/inspire.quotes.example" >> Makefile
echo " @cp conf/inspire.rules \$(CONPATH)/inspire.rules.example" >> Makefile
echo " @cp docs/*.example \$(CONPATH)" >> Makefile
else
echo " @echo \"*** Nothing to Be Done for make config\"" >> Makefile
fi