Move module templates to DATADIR

The file hierarchy standard wants that!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1982 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-05-13 16:51:17 +00:00
parent 0c0c51172e
commit fbe5dd10e7
4 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ create_install_dir:
rm -rf $(DESTDIR)$(MODDIR)/*.so
install_metadirs: create_install_dir
cp -Rp $(srcdir)/www $(DESTDIR)$(MODDIR)
cp -Rp $(srcdir)/www $(DESTDIR)$(DATADIR)
for a in $(srcdir)/*; do \
d=$$(echo $$a | sed -e "s:$(srcdir)/::g"); \
if [ -d $$a ] && [ -f $${d}.so ]; then \