summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 1ac687af11536554387ab52f210eb45225034bdf (plain)
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
## Process this file with automake to produce Makefile.in

SUBDIRS = actions data gettext src docs po

if BUILD_TEST
SUBDIRS += test
endif

NULL =

EXTRA_DIST = 			\
	HACKING.md 		\
	meson.build		\
	meson_options.txt	\
	meson_post_install.py	\
	po/meson.build		\
	$(NULL)

# xsltproc barfs on 'make distcheck'; disable for now
DISTCHECK_CONFIGURE_FLAGS=							\
	--disable-man-pages 							\
	--disable-introspection							\
	--enable-gtk-doc 							\
	--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)	\
        --enable-libsystemd-login=yes						\
        --enable-libelogind=no							\
	$(NULL)

sign : dist
	gpg --armor --detach-sign --output polkit-$(VERSION).tar.gz.sign polkit-$(VERSION).tar.gz

publish : sign
	scp polkit-$(VERSION).tar.gz polkit-$(VERSION).tar.gz.sign "jrybar@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/releases/"

publish-docs :
	gtkdoc-rebase --html-dir docs/polkit/html --online
	ssh "jrybar@people.freedesktop.org" "mkdir -p /srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
	scp docs/polkit/html/* "jrybar@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
	ssh "jrybar@people.freedesktop.org" "rm -f /srv/www.freedesktop.org/www/software/polkit/docs/latest; ln -s $(VERSION) /srv/www.freedesktop.org/www/software/polkit/docs/latest"

clean-local :
	rm -f *~

-include $(top_srcdir)/git.mk