splittet installation of files into the part of headers and libraries
authorBoris Boesler <boesler@ipd.info.uni-karlsruhe.de>
Tue, 17 Apr 2001 11:37:14 +0000 (11:37 +0000)
committerBoris Boesler <boesler@ipd.info.uni-karlsruhe.de>
Tue, 17 Apr 2001 11:37:14 +0000 (11:37 +0000)
[r146]

MakeRules.in
MakeTargets

index acda489..e33c3e0 100644 (file)
@@ -109,4 +109,4 @@ test -z "$$fail"
 endef
 endif
 
-targets = all clean depend realclean tags install autodoc autodoc_xref autodoc_html dist distrib
+targets = all clean depend realclean tags install autodoc autodoc_xref autodoc_html dist distrib install_headers install_libs
index f51c33a..1004875 100644 (file)
@@ -74,15 +74,21 @@ local_tags: $(TAGFILES)
        etags -C $^
 
 # installation
-install:       subdir_install local_install
-local_install: $(INCLUDEDIR) $(LIBDIR)
+install:       $(INCLUDEDIR) install_headers $(LIBDIR) install_libs
+
+install_headers:       subdir_install_headers local_install_headers
+local_install_headers:
 ifneq ($(strip $(INSTALL_HEADERS)),)
        $(INSTALL) -m u+rw,a+r $(addprefix $(srcdir)/,$(INSTALL_HEADERS)) $(INCLUDEDIR)
 endif
+
+install_libs:          subdir_install_libs local_install_libs
+local_install_libs:
 ifneq ($(strip $(INSTALL_LIBS)),)
        $(INSTALL) -m u+rw,a+r $(addprefix $(topdir)/,$(INSTALL_LIBS)) $(LIBDIR)
 endif
 
+
 $(LIBDIR):     $(LIBDIR)
        mkdir -p $@