summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: ef369e6367b76762dde17465024f3e14d100447a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUBDIRS = lib src inc po icons

EXTRA_DIST = doc/CodingStyle abrt.spec

rpm: dist
	rpmbuild --define "_sourcedir `pwd`" \
				--define "_rpmdir `pwd`" \
				--define "_specdir `pwd`" \
				--define "_builddir `pwd`" \
				--define "_srcrpmdir `pwd`" \
				-ba abrt.spec
				
srpm: dist
	rpmbuild --define "_sourcedir `pwd`" \
				--define "_rpmdir `pwd`" \
				--define "_specdir `pwd`" \
				--define "_builddir `pwd`" \
				--define "_srcrpmdir `pwd`" \
				-bs abrt.spec
				
scratch-build: srpm
	koji build --scratch dist-f12 $(PACKAGE)-$(VERSION)-1.fc12.src.rpm