| 11 |
libdir = @libdir@ |
libdir = @libdir@ |
| 12 |
includedir = @includedir@ |
includedir = @includedir@ |
| 13 |
mandir = @mandir@ |
mandir = @mandir@ |
| 14 |
|
DESTDIR = |
| 15 |
|
|
| 16 |
# Programs used by "make": |
# Programs used by "make": |
| 17 |
CC = @CC@ |
CC = @CC@ |
| 32 |
|
|
| 33 |
install : installdirs force |
install : installdirs force |
| 34 |
cd @subdir@; $(MAKE) install |
cd @subdir@; $(MAKE) install |
| 35 |
$(INSTALL_PROGRAM) cln-config $(bindir)/cln-config |
$(INSTALL_PROGRAM) cln-config $(DESTDIR)$(bindir)/cln-config |
| 36 |
$(INSTALL_DATA) cln-config.1 $(mandir)/man1/cln-config.1 |
$(INSTALL_DATA) cln-config.1 $(DESTDIR)$(mandir)/man1/cln-config.1 |
| 37 |
$(INSTALL_DATA) cln.m4 $(datadir)/aclocal/cln.m4 |
$(INSTALL_DATA) cln.m4 $(DESTDIR)$(datadir)/aclocal/cln.m4 |
| 38 |
|
|
| 39 |
installdirs : force |
installdirs : force |
| 40 |
cd @subdir@; $(MAKE) installdirs |
cd @subdir@; $(MAKE) installdirs |
| 41 |
if [ ! -d $(mandir) ] ; then mkdir $(mandir) ; fi |
if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi |
| 42 |
if [ ! -d $(mandir)/man1 ] ; then mkdir $(mandir)/man1 ; fi |
if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then mkdir $(DESTDIR)$(mandir)/man1 ; fi |
| 43 |
if [ ! -d $(datadir)/aclocal ] ; then mkdir $(datadir)/aclocal ; fi |
if [ ! -d $(DESTDIR)$(datadir)/aclocal ] ; then mkdir $(DESTDIR)$(datadir)/aclocal ; fi |
| 44 |
if [ ! -d $(bindir) ] ; then mkdir $(bindir) ; fi |
if [ ! -d $(DESTDIR)$(bindir) ] ; then mkdir $(DESTDIR)$(bindir) ; fi |
| 45 |
|
|
| 46 |
uninstall : force |
uninstall : force |
| 47 |
cd @subdir@; $(MAKE) uninstall |
cd @subdir@; $(MAKE) uninstall |
| 48 |
$(RM) $(bindir)/cln-config |
$(RM) $(DESTDIR)$(bindir)/cln-config |
| 49 |
$(RM) $(mandir)/man1/cln-config.1 |
$(RM) $(DESTDIR)$(mandir)/man1/cln-config.1 |
| 50 |
$(RM) $(datadir)/aclocal/cln.m4 |
$(RM) $(DESTDIR)$(datadir)/aclocal/cln.m4 |
| 51 |
|
|
| 52 |
check : force |
check : force |
| 53 |
cd @subdir@; $(MAKE) check |
cd @subdir@; $(MAKE) check |