Skip to content

Commit

Permalink
Made the makefile download the files directly into the source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Jan 22, 2017
1 parent 642922a commit b3fe0d8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
SPEC_NAME=mendeleydesktop.spec


all:
rpmdev-setuptree
spectool -g *.spec
cp *.spec ~/rpmbuild/SPECS/
cp *.tar.* ~/rpmbuild/SOURCES/
spectool -g -R *.spec
cp README.md ~/rpmbuild/SOURCES/.
#cp *.spec ~/rpmbuild/SPECS/
#cp *.tar.* ~/rpmbuild/SOURCES/
cp *.patch ~/rpmbuild/SOURCES/
rpmbuild -bs ~/rpmbuild/SPECS/mendeleydesktop.spec
#rpmbuild -bs ~/rpmbuild/SPECS/mendeleydesktop.spec
rpmbuild -bs $(SPEC_NAME)


.PHONY: all

0 comments on commit b3fe0d8

Please sign in to comment.