]> git.pld-linux.org Git - packages/daemontools.git/commitdiff
- Makefile to build .cdb files auto/ac/ucspi-tcp-0_88-7 auto/th/ucspi-tcp-0_88-8
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 1 Feb 2005 21:36:53 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    daemontools-tcprules -> 1.1

daemontools-tcprules [new file with mode: 0644]

diff --git a/daemontools-tcprules b/daemontools-tcprules
new file mode 100644 (file)
index 0000000..3ebf405
--- /dev/null
@@ -0,0 +1,12 @@
+-include Makefile.*
+.PHONY: all 
+.SUFFIXES: .cdb
+
+all: $(CDBS) 
+
+%.cdb:: %
+       @echo + Rebuilding $*.cdb from $<; \
+       PERM=$$(stat -c %a $@ 2>/dev/null); OWNER=$$(stat -c %U:%G $@ 2>/dev/null); \
+       umask 007; \
+       tcprules $@ $@.tmp < $<; \
+       [ -z "$$PERM" ] || chmod $$PERM $@; [ -z "$$OWNER" ] || chown $$OWNER $@;
This page took 0.08143 seconds and 4 git commands to generate.