[Orca-checkins] r526 - orca/trunk/lib

blair at orcaware.com blair at orcaware.com
Thu Feb 23 22:54:11 PST 2006


Author: blair at orcaware.com
Date: Thu Feb 23 22:53:44 2006
New Revision: 526

Modified:
   orca/trunk/lib/Makefile.in

Log:
Split lib's Makefile install target into two targets, install-orca and
install-se.  This allows the SE addon files to be installed without
installing Orca's Perl files.

* lib/Makefile.in
  (install):
    Depend upon install-orca and install-se.
  (install-orca):
    Take the actions from the old install target that install Orca's
      Perl files into this target.
  (install-se):
    Take the actions from the old install target that install the SE
      addon files.


Modified: orca/trunk/lib/Makefile.in
==============================================================================
--- orca/trunk/lib/Makefile.in	(original)
+++ orca/trunk/lib/Makefile.in	Thu Feb 23 22:53:44 2006
@@ -31,12 +31,10 @@
 
 test: check
 
-install: all
+install: install-orca install-se
+
+install-orca: all
 	$(MKDIR) $(DESTDIR)$(libdir)/perl/Orca
-	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.2.1
-	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.3
-	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.3.1
-	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.4
 	@for f in Orca/*.pm; do \
 	  echo $(INSTALL) -m 0644 $$f $(DESTDIR)$(libdir)/perl/Orca; \
 	  $(INSTALL) -m 0644 $$f $(DESTDIR)$(libdir)/perl/Orca || exit 1; \
@@ -49,14 +47,6 @@
 	    $(INSTALL) -m 0644 $$f $(DESTDIR)$(libdir)/perl/Orca/Config || exit 1; \
 	  done; \
 	fi
-	@for d in SE/*; do \
-	  test ! -d $$d && continue; \
-	  for f in $$d/*; do \
-	    test ! -f $$f && continue; \
-	    echo $(INSTALL) -m 0644 $$f $(DESTDIR)$(libdir)/$$d; \
-	    $(INSTALL) -m 0644 $$f $(DESTDIR)$(libdir)/$$d || exit 1; \
-	  done \
-	done
 	@echo "cd ..; sh -c 'svnversion .'"
 	@current_rev="`cd ..; sh -c 'svnversion .' 2>/dev/null || true`"; \
 	echo "Subversion reversion of Orca is: $$current_rev"; \
@@ -73,6 +63,20 @@
 	  echo Not fixing svn revision number in $(DESTDIR)$(libdir)/perl/Orca/Constants.pm; \
 	fi
 
+install-se: all
+	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.2.1
+	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.3
+	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.3.1
+	$(MKDIR) $(DESTDIR)$(libdir)/SE/3.4
+	@for d in SE/*; do \
+	  test ! -d $$d && continue; \
+	  for f in $$d/*; do \
+	    test ! -f $$f && continue; \
+	    echo $(INSTALL) -m 0644 $$f $(DESTDIR)$(libdir)/$$d; \
+	    $(INSTALL) -m 0644 $$f $(DESTDIR)$(libdir)/$$d || exit 1; \
+	  done \
+	done
+
 clean:
 
 distclean: clean



More information about the Orca-checkins mailing list