diff options
-rw-r--r-- | git-rpm.mk | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -59,7 +59,12 @@ RSYNC_DIR = $(RSYNC_ROOT)/$(NAME)/$(RPM_VERSION)-$(RPM_RELEASE) SOURCE_FILES = $(shell spectool --lf $(SPEC) | cut -d' ' -f2 | xargs -l basename) .PHONY: all -all: rpm check +all: build +build: rpm check + +.PHONY: sources +sources: + spectool -g $(SPEC) .PHONY: srpm srpm: $(SRPM) @@ -161,6 +166,12 @@ help: @echo "Mock config: $(MOCKCFG)" @echo "Mock result dir: $(MOCKRESULTDIR)" @echo "Source RPM: $(SRPM)" + @echo "Targets:" + @echo " build build the RPM package(s) locally" + @echo " scratch-build build scratch RPM via Fedora's koji" + @echo " mock-build build RPM in local mock chroot" + @echo " sources download all source files" + @echo " srpm build SRPM package locally" # Package specific rules, best put into package specific GNUmakefile |