jsauthority: Work with mozjs-17.0 too
[platform/upstream/polkit.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = actions data src docs po test
4
5 NULL =
6
7 EXTRA_DIST =                    \
8         HACKING                 \
9         $(NULL)
10
11 # xsltproc barfs on 'make distcheck'; disable for now
12 DISTCHECK_CONFIGURE_FLAGS=                                                      \
13         --disable-man-pages                                                     \
14         --disable-gtk-doc                                                       \
15         --disable-introspection                                                 \
16         --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)   \
17         $(NULL)
18
19 sign : dist
20         gpg --armor --detach-sign --output polkit-$(VERSION).tar.gz.sign polkit-$(VERSION).tar.gz
21
22 publish : sign
23         scp polkit-$(VERSION).tar.gz polkit-$(VERSION).tar.gz.sign "david@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/releases/"
24
25 publish-docs :
26         gtkdoc-rebase --html-dir docs/polkit/html --online
27         ssh "david@people.freedesktop.org" "mkdir -p /srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
28         scp docs/polkit/html/* "david@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
29         ssh "david@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"
30
31 clean-local :
32         rm -f *~