Commit 06a5d002 authored by Mark Donohoe's avatar Mark Donohoe

Added the creation of the conf dir and the apache example files are now installed there.

git-svn-id: http://svn.code.sf.net/p/fossology/code/branches/fossology2.0/fossology@5414 a5643f74-2041-0410-a2b9-94ffef304a07
parent 8d3b5fc2
......@@ -41,10 +41,12 @@ install: all
mkdir -p $(DESTDIR)$(CONFPATH); \
fi
if [ ! -e $(DESTDIR)$(CONFPATH)/mods-enabled ] ; then \
mkdir -p $(DESTDIR)$(CONFPATH)/mods-enabled; \
/bin/chmod 775 $(DESTDIR)$(CONFPATH)/mods-enabled; \
fi
mkdir -p $(DESTDIR)$(CONFPATH)/mods-enabled; \
/bin/chmod 775 $(DESTDIR)$(CONFPATH)/mods-enabled; \
fi
if [ ! -e $(DESTDIR)$(CONFPATH)/conf ] ; then \
mkdir -p $(DESTDIR)$(CONFPATH)/conf; \
fi
echo "Installing configuration files..."
if [ ! -f $(DESTDIR)$(CONFPATH)/Db.conf -o "$(OVERWRITE)" ] ; then \
echo "NOTE: using default version for $(DESTDIR)$(CONFPATH)/Db.conf"; \
......@@ -77,6 +79,22 @@ install: all
echo "WARNING: $(DESTDIR)$(CONFPATH)/samplefooter.txt already exists."; \
echo " Not overwriting, consider checking it by hand or use the OVERWRITE option."; \
fi \
if [ ! -f $(DESTDIR)$(CONFPATH)/conf/fo-apache.conf -o "$(OVERWRITE)" ] ; then \
echo "NOTE: using default version for $(DESTDIR)$(CONFPATH)/conf/fo-apache.conf"; \
$(INSTALL) -m 666 fo-apache.conf $(DESTDIR)$(CONFPATH)/conf/fo-apache.conf; \
else \
echo "WARNING: $(DESTDIR)$(CONFPATH)/conf/fo-apache.conf already exists."; \
echo " Not overwriting, consider checking it by hand or use the OVERWRITE option."; \
fi \
if [ ! -f $(DESTDIR)$(CONFPATH)/conf/src-install-apache-example.conf -o "$(OVERWRITE)" ] ; then \
echo "NOTE: using default version for $(DESTDIR)$(CONFPATH)/conf/src-install-apache-example.conf"; \
$(INSTALL) -m 666 src-install-apache-example.conf $(DESTDIR)$(CONFPATH)/conf/src-install-apache-example.conf; \
else \
echo "WARNING: $(DESTDIR)$(CONFPATH)/conf/src-install-apache-example.conf already exists."; \
echo " Not overwriting, consider checking it by hand or use the OVERWRITE option."; \
fi \
uninstall:
rm -f $(DESTDIR)$(LIBEXECDIR)/fo-postinstall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment