diff options
-rw-r--r-- | makefiles/mvn-simple.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiles/mvn-simple.mk b/makefiles/mvn-simple.mk index 082e6f2..a6b19bb 100644 --- a/makefiles/mvn-simple.mk +++ b/makefiles/mvn-simple.mk @@ -42,7 +42,7 @@ target/$(artifact)-$(version).jar: \ $(call dep_dir,target/classes) \ $(call dep_optdir,src/main/resources) $(MKDIRS) $(@D) - $(JAR) -cf $@ -C target META-INF -C target/classes . $(if $(wildcard src/main/resources),-C src/main/resources .) + $(JAR) -cf $@ -C target META-INF $$($(FIND) target/classes src/main/resources -type f -printf ' -C %H %P ') target/META-INF/maven/$(group)/$(artifact)/pom.xml: pom.xml install -Dm644 $< $@ |