forked from gcampax/gtk-js-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
52 lines (43 loc) · 1.22 KB
/
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
45
46
47
48
49
50
51
52
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS = --disable-dogtail
SUBDIRS = po data src tests
MAINTAINERCLEANFILES = \
$(srcdir)/INSTALL \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/compile \
$(srcdir)/config.guess \
$(srcdir)/config.h.in \
$(srcdir)/config.sub \
$(srcdir)/configure.scan \
$(srcdir)/depcomp \
$(srcdir)/install-sh \
$(srcdir)/ltmain.sh \
$(srcdir)/missing \
$(srcdir)/mkinstalldirs
GITIGNOREFILES = \
.anjuta \
.anjuta_sym_db.db \
m4/intltool.m4 \
m4/libtool.m4 \
m4/lt* \
rpms/
distdir = $(PACKAGE_TARNAME)-$(VERSION)
rpmdefines = \
--define "_name $(PACKAGE_NAME)" \
--define "_version $(PACKAGE_VERSION)" \
--define "_distdir $(PACKAGE_TARNAME)" \
--define "_sourcedir $(abs_builddir)" \
--define "_specdir $(abs_srcdir)" \
--define "_builddir $(abs_builddir)/rpms" \
--define "_srcrpmdir $(abs_builddir)/rpms" \
--define "_rpmdir $(abs_builddir)/rpms"
rpm: dist
@rm -fR $(builddir)/rpms
@mkdir $(builddir)/rpms
env -i PATH=/usr/bin/:/bin SHELL=$(SHELL) HOSTNAME=$${HOSTNAME} HOME=$${HOME} \
rpmbuild $(rpmdefines) -ba $(srcdir)/$(PACKAGE_NAME).spec
clean-local:
rm -fR $(builddir)/rpms
EXTRA_DIST = $(PACKAGE_NAME).spec
-include $(top_srcdir)/git.mk