diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-01-03 18:01:31 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-01-03 18:01:31 +0100 |
commit | 395080ff47e4fd5de6dc8918cdb278b5b8cbe161 (patch) | |
tree | 85efacf812e34d2a7f7c4e1ef6a8b91e5dba1734 /rules/templates | |
parent | 92fc67cfd96d3b4bf42cb30c64e99f1a0d76a49a (diff) | |
download | ptxdist-395080ff47e4fd5de6dc8918cdb278b5b8cbe161.tar.gz ptxdist-395080ff47e4fd5de6dc8918cdb278b5b8cbe161.tar.xz |
[templates] call autogen.sh for release versions if configure is missing
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/templates')
-rw-r--r-- | rules/templates/template-src-autoconf-make | 2 | ||||
-rw-r--r-- | rules/templates/template-src-stellaris-make | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/rules/templates/template-src-autoconf-make b/rules/templates/template-src-autoconf-make index ff1222d22..2a90bb94a 100644 --- a/rules/templates/template-src-autoconf-make +++ b/rules/templates/template-src-autoconf-make @@ -41,6 +41,8 @@ $(STATEDIR)/@package@.extract: @$(call extract, @PACKAGE@) ifdef PTXCONF_@PACKAGE@_TRUNK cd $(@PACKAGE@_DIR) && sh autogen.sh +else + cd $(@PACKAGE@_DIR) && [ -f configure ] || sh autogen.sh endif @$(call patchin, @PACKAGE@) @$(call touch) diff --git a/rules/templates/template-src-stellaris-make b/rules/templates/template-src-stellaris-make index b46d7ab54..03ccd0342 100644 --- a/rules/templates/template-src-stellaris-make +++ b/rules/templates/template-src-stellaris-make @@ -56,6 +56,8 @@ $(STATEDIR)/@package@.extract: @$(call extract, @PACKAGE@) ifdef PTXCONF_@PACKAGE@_TRUNK cd $(@PACKAGE@_DIR) && sh autogen.sh +else + cd $(@PACKAGE@_DIR) && [ -f configure ] || sh autogen.sh endif @$(call patchin, @PACKAGE@) @$(call touch) |