summaryrefslogtreecommitdiff
path: root/source4/build/make/templates.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-18 23:02:47 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-18 23:02:47 +0200
commit4c70cda986c86fe536327321d04c29eca81b6409 (patch)
tree16a9331fcc71c8300a221ca40877ff2fc5a430fd /source4/build/make/templates.mk
parent4c8756f147f8b9a2806fd76e4cb06bb99d391516 (diff)
downloadsamba-4c70cda986c86fe536327321d04c29eca81b6409.tar.gz
samba-4c70cda986c86fe536327321d04c29eca81b6409.tar.bz2
samba-4c70cda986c86fe536327321d04c29eca81b6409.zip
Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
Diffstat (limited to 'source4/build/make/templates.mk')
-rw-r--r--source4/build/make/templates.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/build/make/templates.mk b/source4/build/make/templates.mk
index 87aa30c0c0..48678c5603 100644
--- a/source4/build/make/templates.mk
+++ b/source4/build/make/templates.mk
@@ -35,11 +35,16 @@ endef
# Create a prototype header
# Arguments: header file, c files
define proto_header_template
+
+proto:: $(1) ;
+
+clean:: ;
+ rm -f $(1)
+
$(1): $(2) ;
@echo "Creating $$@"
@$$(PERL) $$(srcdir)/script/mkproto.pl --srcdir=$$(srcdir) --builddir=$$(builddir) --public=/dev/null --private=$$@ $$^
-PROTO_HEADERS += $(1)
endef
# Shared module