Added rules to install adt files
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 2 Dec 2004 16:04:59 +0000 (16:04 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 2 Dec 2004 16:04:59 +0000 (16:04 +0000)
[r4541]

MakeTargets

index 9e0d7a4..d355eaa 100644 (file)
@@ -71,7 +71,7 @@ local_tags:   $(TAGFILES)
        etags -C $^
 
 # installation
-install:       $(INCLUDEDIR) install_headers $(LIBDIR) install_libs
+install:       $(INCLUDEDIR) $(INCLUDEDIR)/adt install_headers $(LIBDIR) install_libs
        @echo ================================================
        @echo Don\'t forget to add $(LIBDIR) to LD_LIBRARY_PATH
        @echo Don\'t forget to add /usr/public/libxml2/lib to LD_LIBRARY_PATH
@@ -82,6 +82,9 @@ local_install_headers:
 ifneq ($(strip $(INSTALL_HEADERS)),)
        $(INSTALL)  -m u+rw,a+r $(addprefix $(srcdir)/,$(INSTALL_HEADERS)) $(INCLUDEDIR)
 endif
+ifneq ($(strip $(INSTALL_HEADERS_ADT)),)
+       $(INSTALL)  -m u+rw,a+r $(addprefix $(srcdir)/,$(INSTALL_HEADERS_ADT)) $(INCLUDEDIR)/adt
+endif
 
 install_libs:          subdir_install_libs local_install_libs
 local_install_libs:
@@ -98,6 +101,9 @@ $(LIBDIR):
 $(INCLUDEDIR):
        mkdir -p $@
 
+$(INCLUDEDIR)/adt:
+       mkdir -p $@
+
 # generated the directory where all the generated documentation is
 $(AUTODOCDIR):
        mkdir -p $@