Fix systemd unit service issue for arch 64.
[platform/upstream/udisks2.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 NULL =
4
5 SUBDIRS = data udisks src tools po doc
6
7 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
8
9 EXTRA_DIST =                    \
10         HACKING                 \
11         $(NULL)
12
13 DISTCHECK_CONFIGURE_FLAGS=                                                      \
14         --enable-gtk-doc                                                        \
15         --disable-introspection                                                 \
16         --with-udevdir=$$dc_install_base/$(udevdir)                             \
17         --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)   \
18         $(NULL)
19
20 sign : dist
21         gpg --armor --detach-sign --output udisks-$(VERSION).tar.bz2.sign udisks-$(VERSION).tar.bz2
22
23 publish : sign
24         scp udisks-$(VERSION).tar.bz2 udisks-$(VERSION).tar.bz2.sign "david@people.freedesktop.org:/srv/udisks.freedesktop.org/www/releases/"
25
26 publish-docs :
27         gtkdoc-rebase --html-dir doc/html --online
28         ssh "david@people.freedesktop.org" "mkdir -p /srv/udisks.freedesktop.org/www/docs/$(VERSION)"
29         scp doc/html/* "david@people.freedesktop.org:/srv/udisks.freedesktop.org/www/docs/$(VERSION)"
30         ssh "david@people.freedesktop.org" "rm -f /srv/udisks.freedesktop.org/www/docs/latest; ln -s $(VERSION) /srv/udisks.freedesktop.org/www/docs/latest"
31
32 # publish docs readable from http://udisks.freedesktop.org/docs/master/ (instead of latest)
33 #
34 # This is useful for work-in-progress when hacking on master and you want
35 # to easily share API ideas etc. with others without requiring them to
36 # build master themselves
37 publish-docs-master :
38         gtkdoc-rebase --html-dir doc/html --online
39         ssh "david@people.freedesktop.org" "rm -rf /srv/udisks.freedesktop.org/www/docs/master; mkdir -p /srv/udisks.freedesktop.org/www/docs/master"
40         scp doc/html/* "david@people.freedesktop.org:/srv/udisks.freedesktop.org/www/docs/master"
41
42 clean-local :
43         rm -f *~