forked from vn-input/ibus-unikey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
45 lines (36 loc) · 808 Bytes
/
Makefile.am
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
41
42
43
44
SUBDIRS = \
ukengine \
src \
setup \
icons \
m4 \
po \
$(NULL)
MAKEFLAGS = --no-print-directory
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
ibus-unikey.spec.in
DISTCLEANFILES = \
po/stamp-it \
$(NULL)
rpm: dist @[email protected]
rpmbuild -bb \
--define "_sourcedir `pwd`" \
--define "_builddir `pwd`" \
--define "_srcrpmdir `pwd`" \
--define "_rpmdir `pwd`" \
--define "_specdir `pwd`" \
srpm: dist @[email protected]
rpmbuild -bs \
--define "_sourcedir `pwd`" \
--define "_builddir `pwd`" \
--define "_srcrpmdir `pwd`" \
--define "_rpmdir `pwd`" \
--define "_specdir `pwd`" \
clean-rpm:
$(RM) -r "`uname -i`"
$(RM) -r @PACKAGE_NAME@-@PACKAGE_VERSION@*.src.rpm
clean-local: clean-rpm
$(RM) -r $(distdir)