diff options
Diffstat (limited to 'rules/atinject-javax.inject-tck/Makefile')
-rw-r--r-- | rules/atinject-javax.inject-tck/Makefile | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/rules/atinject-javax.inject-tck/Makefile b/rules/atinject-javax.inject-tck/Makefile deleted file mode 100644 index b8ba8a8..0000000 --- a/rules/atinject-javax.inject-tck/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# DOESN'T WORK, incomplete -syntax error - -DESTDIR ?= -MAVEN_LOCAL_REPO ?= ~/.m2 - -XMLSTARLET = xml -RM = rm -f -MKDIRS = mkdir -p -INSTALL = install -FIND = find -SED = sed - -artifact := $(shell $(XMLSTARLET) sel -T -t -c /_:project/_:artifactId -n pom.xml) -version := $(shell $(XMLSTARLET) sel -T -t -c /_:project/_:version -n pom.xml) -group := $(shell $(XMLSTARLET) sel -T -t -c /_:project/_:groupId -n pom.xml) - -all: PHONY build - -build: $(shell $(FIND) src tck) - $(SED) -e 's/VERSION=.*/VERSION=$(version)/' $(if $(CLASSPATH),-e 's|-classpath |-classpath $(CLASSPATH):|') build.sh | $(SHELL) || { $(RM) -r build; exit 1; } -build/maven/%: build - -mvndir = $(DESTDIR)$(MAVEN_LOCAL_REPO)/$(subst .,/,$(group))/$(artifact)/$(version) - -install: PHONY build \ - $(addprefix $(mvndir)/$(artifact)-$(version),.pom .jar -sources.jar -javadoc.jar) - -$(mvndir)/%: build/maven/% - $(INSTALL) -Dm644 $< $@ -$(mvndir)/$(artifact)-$(version).pom: build/maven/pom.xml - $(INSTALL) -Dm644 $< $@ - -clean: PHONY - $(RM) -r build - -.PHONY: PHONY |