• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple RSS Reader inspired by Gxxgle Reader


Commit MetaInfo

Revision3368d579e384e60ce8f17a5b372aee23d1ffa1be (tree)
Time2013-07-16 00:39:00
Authorhylom <hylom@hylo...>
Commiterhylom

Log Message

update dist/Makefile

Change Summary

Incremental Difference

--- a/dist/Makefile
+++ b/dist/Makefile
@@ -2,10 +2,28 @@ SPEC=grrreader.spec
22 VERSION=0.0.5
33 DIST_DIR=dist
44 TGZ_NAME=grrreader-$(VERSION).tar.gz
5+
56 all: rpm
7+tarball: $(TGZ_NAME)
8+
9+rpm: rpmbuild/SPECS/$(SPEC) rpmbuild/SOURCES/$(TGZ_NAME)
10+ rpmbuild --define "_topdir ${PWD}/rpmbuild" -bp $(SPEC)
11+
12+rpmbuild/SPECS/$(SPEC): $(SPEC) rpmbuild/SPECS
13+ cp $< $@
14+
15+rpmbuild/SOURCES/$(TGZ_NAME): $(TGZ_NAME)
16+ cp $< $@
17+
18+rpmbuild:
19+ mkdir -p rpmbuild
620
7-rpm: $(SPEC)
21+rpmbuild/%: rpmbuild
22+ mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
823
9-tarball:
10- cd ..; git archive --format=tar release | gzip > $(DIST_DIR)/$(TGZ_NAME)
24+$(TGZ_NAME):
25+ cd ..; git archive --prefix=grrreader-$(VERSION)/ --format=tar release | gzip > $(DIST_DIR)/$(TGZ_NAME)
1126
27+clean:
28+ rm -rf rpmbuild
29+ rm -f $(TGZ_NAME)