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:
742ba22
)
support for make'ing <package>.debian by simply calling make debian in
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 16 Jan 2013 09:01:09 +0000
(10:01 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 16 Jan 2013 09:01:09 +0000
(10:01 +0100)
that package
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
1a4c823
..
2472f54
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-658,6
+658,17
@@
endef
$(foreach package,$(ALL),$(eval $(call target_depends,$(package))))
+####################
+# very rough for now (one module per package), targets only sfa
+define target_debian
+$(1).debian:
+ mkdir -p DEBIAN/$(1)
+ rsync -av MODULES/$(1) DEBIAN/$(1)
+ make -C DEBIAN/$(1) debian
+endef
+
+$(foreach package,$(ALL),$(eval $(call target_debian,$(package))))
+
### clean target
# usage: target_clean package
define target_clean