summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--rules/_generic/Makefile2
-rw-r--r--rules/plexus-build-api/version.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3a11d2c..fcd41fd 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ export JAR_DIR := $(shell $(CAT) conf/jardir.txt)
# Post-processing for conf/sources.mk
packages := $(filter-out _%,$(variables))
-specs := $(foreach variable,$(variables),$(findstring |,$($(variable))))
+specs := $(foreach variable,$(variables),$(if $(findstring |,$($(variable))),$($(variable))))
tarbombs := $(addprefix build/extract/,$(call spec2,base,$(_tarbombs)))
# download #####################################################################
diff --git a/rules/_generic/Makefile b/rules/_generic/Makefile
index bb2f721..e63c54b 100644
--- a/rules/_generic/Makefile
+++ b/rules/_generic/Makefile
@@ -41,7 +41,7 @@ javac_source := $(firstword $(call pom_get,/project/properties/maven.compile.
javac_target := $(firstword $(call pom_get,/project/properties/maven.compile.target /project/properties/maven.compiler.target $(call plugin_conf,maven-compiler-plugin,target) ) $(value javac_target))
javac_encoding := $(firstword $(call pom_get,/project/properties/project.build.sourceEncoding $(call plugin_conf,maven-compiler-plugin,encoding)) $(value javac_encoding))
-basedir = .
+basedir := $(shell pwd)
project.basedir = $(basedir)
subdirs = $(patsubst %/pom.xml,%,$(wildcard */pom.xml))
targets = pom $(if $(wildcard $(sourceDirectory) $(resources)),jar)
diff --git a/rules/plexus-build-api/version.mk b/rules/plexus-build-api/version.mk
index b625d2f..cc1f20a 100644
--- a/rules/plexus-build-api/version.mk
+++ b/rules/plexus-build-api/version.mk
@@ -1,2 +1,2 @@
-src/main/resources/org/sonatype/plexus/build/incremental/version.properties: FORCE
+src/main/resources/org/sonatype/plexus/build/incremental/version.properties: pom.xml
sed -i 's/^api\.version\s*=.*/api.version = $(version)/' $@