summaryrefslogtreecommitdiff
path: root/source/build
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
commita6b52119940a900fb0de3864b8bca94e2965cc24 (patch)
tree4088826ef309d2104f480fede91c8872faf47c00 /source/build
parentf4a77b96f9c17d853348b70794026e5b9e384942 (diff)
downloadsamba-a6b52119940a900fb0de3864b8bca94e2965cc24.tar.gz
Fix a couple (well, little more than that..) of typos.
Diffstat (limited to 'source/build')
-rw-r--r--source/build/make/rules.mk2
-rw-r--r--source/build/make/templates.mk7
2 files changed, 6 insertions, 3 deletions
diff --git a/source/build/make/rules.mk b/source/build/make/rules.mk
index b47cf2d3829..176e67a691b 100644
--- a/source/build/make/rules.mk
+++ b/source/build/make/rules.mk
@@ -56,8 +56,6 @@ clean:: clean_pch
@echo Removing generated files
@-rm -f bin/*_init_module.c
@-rm -rf librpc/gen_*
- @echo Removing proto headers
- @-rm -f $(PROTO_HEADERS)
distclean:: clean
-rm -f include/config.h include/config_tmp.h include/build.h
diff --git a/source/build/make/templates.mk b/source/build/make/templates.mk
index 87aa30c0c0b..48678c5603e 100644
--- a/source/build/make/templates.mk
+++ b/source/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