ispman/install-data/ldifs Makefile,1.2,1.3

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/install-data/ldifs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31067/install-data/ldifs

Modified Files:
	Makefile 
Log Message:
changed Makefile for more smarter install

Index: Makefile
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/ldifs/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile	4 May 2002 22:37:35 -0000	1.2
+++ Makefile	1 Aug 2004 21:11:54 -0000	1.3
@@ -1,4 +1,25 @@
-all:
+include ../../makedefs
+INSTALL = ../../install-sh
+
+CONFLDIFS = \
+	base.ldif \
+	conf.ldif conf.ftp_vars.ldif conf.dns_vars.ldif conf.ldap_vars.ldif \
+	conf.mail_vars.ldif conf.sys_vars.ldif conf.account_vars.ldif \
+	counters.ldif hosts.ldif dns.ldif hostgroups.ldif \
+	domainServices.ldif radiusprofiles.ldif processes.ldif
+
+
+all: ispman_install.ldif
+
+
+ispman_install.ldif:
+	cat $(CONFLDIFS) > ispman_install.ldif
 	perl make.pl >ispmanVarSort.conf
 
 
+install: ispman_install.ldif
+	$(INSTALL) -c -m 640 ispman_install.ldif $(DESTDIR)$(PREFIX)/conf/ldif/ispman.ldif
+
+clean:
+	-rm ispman_install.ldif
+	-rm ispmanVarSort.conf



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.