X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=Makefile.in;h=6e68da9f5a584b9441d87eb78b75fe56b710d656;hb=186a20eb1eab83b1e37988549f244d1c10b9a5d1;hp=4123d5771037b568aa40b7f0db3337d1a43f3bf8;hpb=850abfde7f0d985ba01526c346bcd0d733562943;p=cln.git diff --git a/Makefile.in b/Makefile.in index 4123d57..6e68da9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,61 +6,73 @@ prefix = @prefix@ local_prefix = /usr/local exec_prefix = @exec_prefix@ +srcdir = @srcdir@ bindir = @bindir@ datadir = @datadir@ libdir = @libdir@ includedir = @includedir@ mandir = @mandir@ +DESTDIR = # Programs used by "make": CC = @CC@ CFLAGS = @CFLAGS@ RM = rm -f +MKDIR = mkdir -p @SET_MAKE@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ -UNINSTALL_PROGRAM = @UNINSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_DATA = @INSTALL_DATA@ #### End of system configuration section. #### SHELL = /bin/sh all : force - cd @subdir@; $(MAKE) all + cd @subdir@ && $(MAKE) all -install : force - cd @subdir@; $(MAKE) install - if [ ! -d $(bindir) ] ; then mkdir $(bindir) ; fi - $(INSTALL_PROGRAM) cln-config $(bindir)/cln-config +install : installdirs force + cd @subdir@ && $(MAKE) install + $(INSTALL_SCRIPT) cln-config $(DESTDIR)$(bindir)/cln-config + $(INSTALL_DATA) cln-config.1 $(DESTDIR)$(mandir)/man1/cln-config.1 + $(INSTALL_DATA) ${srcdir}/cln.m4 ${DESTDIR}${datadir}/aclocal/cln.m4 + $(INSTALL_DATA) cln.pc $(DESTDIR)$(libdir)/pkgconfig/cln.pc installdirs : force - cd @subdir@; $(MAKE) installdirs - if [ ! -d $(bindir) ] ; then mkdir $(bindir) ; fi + cd @subdir@ && $(MAKE) installdirs + $(MKDIR) $(DESTDIR)$(mandir)/man1 + $(MKDIR) $(DESTDIR)$(datadir)/aclocal + $(MKDIR) $(DESTDIR)$(bindir) + $(MKDIR) $(DESTDIR)$(libdir)/pkgconfig uninstall : force - cd @subdir@; $(MAKE) uninstall - $(RM) $(bindir)/cln-config + cd @subdir@ && $(MAKE) uninstall + $(RM) $(DESTDIR)$(bindir)/cln-config + $(RM) $(DESTDIR)$(mandir)/man1/cln-config.1 + $(RM) $(DESTDIR)$(datadir)/aclocal/cln.m4 + $(RM) $(DESTDIR)$(libdir)/pkgconfig/cln.pc check : force - cd @subdir@; $(MAKE) check + cd @subdir@ && $(MAKE) check mostlyclean : force - cd @subdir@; $(MAKE) mostlyclean + cd @subdir@ && $(MAKE) mostlyclean clean : force - cd @subdir@; $(MAKE) clean + cd @subdir@ && $(MAKE) clean distclean : force - cd @subdir@; if test -f Makefile; then $(MAKE) distclean; fi + cd @subdir@ && if test -f Makefile; then $(MAKE) distclean; fi $(RM) config.status config.log config.cache Makefile - $(RM) cln-config + $(RM) cln-config cln-config.1 cln.pc $(RM) libtool $(RM) include/cln/config.h include/cln/intparam.h include/cln/floatparam.h src/base/cl_base_config.h src/base/cl_gmpconfig.h src/float/cl_float_config.h src/timing/cl_t_config.h maintainer-clean : force - cd @subdir@; if test -f Makefile; then $(MAKE) maintainer-clean; fi + cd @subdir@ && if test -f Makefile; then $(MAKE) maintainer-clean; fi $(RM) config.status config.log config.cache Makefile - $(RM) cln-config + $(RM) cln-config cln-config.1 cln.spec cln.pc $(RM) libtool $(RM) include/cln/config.h include/cln/intparam.h include/cln/floatparam.h src/base/cl_base_config.h src/base/cl_gmpconfig.h src/float/cl_float_config.h src/timing/cl_t_config.h