forked from storaged-project/udisks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
51 lines (41 loc) · 1.63 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
## Process this file with automake to produce Makefile.in
NULL =
SUBDIRS = data udisks src tools modules po doc packaging
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
GCC_COLORS ?= 'auto'
export GCC_COLORS
EXTRA_DIST = \
HACKING \
README.md \
$(NULL)
DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
--enable-modules \
--disable-introspection \
--with-udevdir=$$dc_install_base/$(udevdir) \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) \
$(NULL)
sign: dist
gpg --armor --detach-sign --output storaged-$(VERSION).tar.bz2.sign storaged-$(VERSION).tar.bz2
shortlog:
git shortlog -r $$(git tag -l | tail -n 1)..HEAD
clean-local:
rm -f *~
RPMDIR = `readlink -f $(top_builddir)/packaging`
SRCDIR = `readlink -f $(top_srcdir)`
rpm: dist-bzip2
rpmbuild \
--define "_sourcedir $(SRCDIR)" \
--define "_specdir $(RPMDIR)" \
--define "_builddir $(RPMDIR)" \
--define "_srcrpmdir $(RPMDIR)" \
--define "_rpmdir $(RPMDIR)" \
-ba $(SRCDIR)/packaging/storaged.spec
srpm: dist-bzip2
rpmbuild \
--define "_sourcedir $(SRCDIR)" \
--define "_specdir $(RPMDIR)" \
--define "_builddir $(RPMDIR)" \
--define "_srcrpmdir $(RPMDIR)" \
--define "_rpmdir $(RPMDIR)" \
-bs $(SRCDIR)/packaging/storaged.spec