summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2012-12-11 01:39:35 +0100
committerBertrand Jacquin <beber@meleeweb.net>2012-12-11 01:39:35 +0100
commitf728480604db018ec2e5c5a32f386c09bfd2fb3e (patch)
treefdb8528e302b63ec406b2c45dad3e71ba6c9b5aa
parent[BUILD] Rebuild %.o if a header has benn modified (diff)
downloadmod_virtualvalue-f728480604db018ec2e5c5a32f386c09bfd2fb3e.tar.gz
[CLEANUP] No need to declare HEADER, this is always one prefixed by SRC
-rw-r--r--Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 1997d1e..7b586e0 100644
--- a/Makefile
+++ b/Makefile
@@ -13,14 +13,6 @@ SRC = \
al_php5.c \
mod_virtualvalue.c
-HEADER = \
- al_alias.h \
- al_authn_file.h \
- al_core.h \
- al_dumb.h \
- al_php5.h \
- mod_virtualvalue.h
-
DOC_FILES = \
test/vhost.conf
@@ -114,7 +106,7 @@ $(NAME).so: $(SRC:c=o)
$(call quiet_cmd,STRIP,$@)
$(Q)$(STRIP) $(STRIP_FLAGS) -o $@ $<
-$(NAME)-$(VERSION).tar: $(SRC) $(HEADER) $(EXTRA_FILES) $(DOC_FILES)
+$(NAME)-$(VERSION).tar: $(SRC) $(SRC:c=h) $(EXTRA_FILES) $(DOC_FILES)
$(call quiet_cmd,TAR,$@)
$(Q)$(TAR) cf $@ \
--transform "s,^,$(NAME)-$(VERSION)/," \