git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c1e15e3
)
convenience meta-target 'debian' for building on debian - distclean would also trash...
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 3 Apr 2014 08:32:38 +0000
(10:32 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 3 Apr 2014 08:32:38 +0000
(10:32 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
e8c45a6
..
0533445
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-704,6
+704,11
@@
endef
$(foreach package,$(ALL),$(eval $(call target_depends,$(package))))
$(foreach package,$(ALL),$(eval $(call target_depends,$(package))))
+####################
+# debian meta-target
+ALL-DEBIAN := $(foreach target,$(ALL),$(target)-debian)
+debian: $(ALL-DEBIAN)
+
####################
# very rough for now (one module per package), targets only sfa for now
# the general idea here is, changing the specfile (for version number and all) is enough, and this
####################
# very rough for now (one module per package), targets only sfa for now
# the general idea here is, changing the specfile (for version number and all) is enough, and this
@@
-783,7
+788,7
@@
clean-help:
distclean1:
rm -rf envfrompreviousrun.mk .rpmmacros spec2make header.spec SPECS MAKE $(DISTCLEANS)
distclean2:
distclean1:
rm -rf envfrompreviousrun.mk .rpmmacros spec2make header.spec SPECS MAKE $(DISTCLEANS)
distclean2:
- rm -rf MODULES SOURCES BUILD BUILDROOT RPMS SRPMS tmp
+ rm -rf MODULES SOURCES BUILD BUILDROOT RPMS SRPMS
DEBIAN
tmp
distclean: distclean1 distclean2
.PHONY: distclean1 distclean2 distclean
distclean: distclean1 distclean2
.PHONY: distclean1 distclean2 distclean