[sword-svn] r1751 - trunk/samples
tbiggs at crosswire.org
tbiggs at crosswire.org
Sun Mar 20 23:15:32 MST 2005
Author: tbiggs
Date: 2005-03-20 23:15:32 -0700 (Sun, 20 Mar 2005)
New Revision: 1751
Modified:
trunk/samples/Makefile.am
Log:
create mods.d directory on install
Modified: trunk/samples/Makefile.am
===================================================================
--- trunk/samples/Makefile.am 2005-03-20 22:41:55 UTC (rev 1750)
+++ trunk/samples/Makefile.am 2005-03-21 06:15:32 UTC (rev 1751)
@@ -1,10 +1,10 @@
EXTRA_DIST += samples/mods.d/globals.conf
+modsdatadir = $(pkgdatadir)/mods.d
+
if INSTCONF
modsDATA = samples/mods.d/globals.conf
-modsdatadir = $(pkgdatadir)/mods.d
-
installmodsDATA: $(modsDATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(modsdatadir)
@@ -23,7 +23,10 @@
rm -f $(DESTDIR)$(modsdatadir)/$$f; \
done
else
-installmodsDATA:
+installmodsDATA:
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(modsdatadir) \
+ done
uninstallmodsDATA:
More information about the sword-cvs
mailing list