1 # This file is part of nss-myhostname.
3 # Copyright 2008 Lennart Poettering
5 # nss-myhostname is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public License
7 # as published by the Free Software Foundation, either version 2.1 of
8 # the License, or (at your option) any later version.
10 # nss-myhostname is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with nss-myhostname. If not, If not, see
17 # <http://www.gnu.org/licenses/>.
19 ACLOCAL_AMFLAGS = -I m4
21 lib_LTLIBRARIES = libnss_myhostname.la
23 EXTRA_DIST=bootstrap.sh README LICENSE
26 AM_CPPFLAGS = -include $(top_builddir)/config.h
28 MAINTAINERCLEANFILES=README
34 cd $(srcdir) && ln -s doc/README README
37 test -d $$HOME/homepage/private
38 mkdir -p $$HOME/homepage/private/projects/nss-myhostname
39 cp nss-myhostname-@PACKAGE_VERSION@.tar.gz doc/README.html doc/style.css $$HOME/homepage/private/projects/nss-myhostname
40 ln -sf README.html $$HOME/homepage/private/projects/nss-myhostname/index.html
44 libnss_myhostname_la_SOURCES = \
49 libnss_myhostname_la_LDFLAGS = \
56 rm -f $(DESTDIR)$(libdir)/libnss_myhostname.la
57 rm -f $(DESTDIR)$(libdir)/libnss_myhostname_minimal.la
60 rm -f $(DESTDIR)$(libdir)/libnss_myhostname.so.2
61 rm -f $(DESTDIR)$(libdir)/libnss_myhostname_minimal.so.2