File: Makefile.am

package info (click to toggle)
scim-unikey 0.3.1+debian-3.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,396 kB
  • ctags: 1,262
  • sloc: sh: 10,650; cpp: 7,490; makefile: 169; sed: 16
file content (40 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = icon po ukengine src setup

EXTRA_DIST = \
	config.rpath \
	README \
	scim-unikey.spec.in \
	debian

rpm: dist @PACKAGE_NAME@.spec
	rpmbuild -bb \
			--define "_sourcedir `pwd`" \
			--define "_builddir `pwd`" \
			--define "_srcrpmdir `pwd`" \
			--define "_rpmdir `pwd`" \
			--define "_specdir `pwd`" \
			@PACKAGE_NAME@.spec

srpm: dist @PACKAGE_NAME@.spec
	rpmbuild -bs \
			--define "_sourcedir `pwd`" \
			--define "_builddir `pwd`" \
			--define "_srcrpmdir `pwd`" \
			--define "_rpmdir `pwd`" \
			--define "_specdir `pwd`" \
			@PACKAGE_NAME@.spec

clean-rpm:
	$(RM) -r "`uname -i`"

deb: distdir
	cd $(distdir) && debuild --no-tgz-check

clean-deb:
	$(RM) -r @PACKAGE_NAME@_@PACKAGE_VERSION@*.{dsc,tar.gz,build,changes,deb}

clean-local: clean-rpm clean-deb
	$(RM) -r $(distdir)