ispman/install-data/schema Makefile,1.5,1.6

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

Modified Files:
	Makefile 
Log Message:
added proper change detection

Index: Makefile
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/schema/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile	1 Aug 2004 21:12:55 -0000	1.5
+++ Makefile	6 Jun 2006 21:41:25 -0000	1.6
@@ -3,12 +3,16 @@
 INSTALL_DIR = $(DESTDIR)$(PREFIX)/conf/schema
 SCHEMAS = ispman.schema dnszone.schema pureftpd.schema RADIUS-LDAPv3.schema
 
+
+CLASSES = $(shell find . -name objc.txt -print)
+ATTRS   = $(shell find . -name attr.txt -print)
+
 all:	$(SCHEMAS)
 
-ispman.schema:
+ispman.schema: $(CLASSES) $(ATTRS)
 	@echo building schema
-	@find . -name objc.txt -exec cat {} \; > ispman.oc.schema
-	@find . -name attr.txt -exec cat {} \; > ispman.at.schema
+	@cat $(CLASSES) > ispman.oc.schema
+	@cat $(ATTRS) > ispman.at.schema
 	@cat schema.head ispman.at.schema ispman.oc.schema > ispman.schema
 
 install: $(SCHEMAS)
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.