lashd: When creating a unique client name also check the project's lost_clients list...
[ladish.git] / Makefile.am
blob8d7666603aa55d24683e1466689a2cf22c2c7113
1 SUBDIRS = m4 docs lash common dbus liblash lashd clients icons pylash
3 pkgconfigdir = $(libdir)/pkgconfig
4 pkgconfig_DATA = lash-1.0.pc
6 EXTRA_DIST = common.am README.SECURITY \
7         lash-configure-template ChangeLog.old
9 buildcheck:
10         cd $(top_srcdir) && make distclean
11         cd $(top_srcdir) && ./autogen.sh --no-conf
12         mkdir -p $(top_srcdir)/buildcheck
13         cd $(top_srcdir)/buildcheck && \
14           CFLAGS="$$CFLAGS -std=c99 -Werror -Wall -pedantic -Wno-switch" \
15           ../configure \
16             --disable-debug \
17             --disable-gtk \
18             --enable-maintainer-mode
19         cd $(top_srcdir)/buildcheck && make
20         cd $(top_srcdir)/buildcheck && make distclean
21         rm -rf $(top_srcdir)/buildcheck
22         cd $(top_srcdir) && ./autogen.sh
24 pacoinstall: svnversion.h # SVNONLY
25         test `whoami` == root # test for root SVNONLY
26         -paco -rvB lash # SVNONLY
27         -paco -lE `pwd` -p lash-$(shell $(top_srcdir)/svnversion.sh $(top_srcdir)) "make install" # SVNONLY
28         -paco -i lash # SVNONLY
30 svnversion.h:: # SVNONLY
31         @if test -d $(top_srcdir)/.svn -o -d $(top_srcdir)/.git; then $(top_srcdir)/svnversion_regenerate.sh $@; fi # SVNONLY
33 DISTCLEANFILES = svnversion.h # SVNONLY
34 BUILT_SOURCES = svnversion.h # SVNONLY
35 EXTRA_DIST += svnversion.h svnversion.sh
37 dist-hook: # SVNONLY
38         sed -i 's/^.*SVNONLY.*//' $(distdir)/Makefile.am $(distdir)/Makefile.in # SVNONLY
40 # temporary hack for preview tarballs
41 # should be disabled before releasing official tarball
42 SVN_VERSION = $(shell $(top_srcdir)/svnversion.sh $(top_srcdir))
43 distdir = $(PACKAGE)-$(VERSION).$(SVN_VERSION)