OSSP CVS Repository

ossp - Check-in [236]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 236
Date: 2000-Dec-15 13:14:15 (local)
2000-Dec-15 12:14:15 (UTC)
User:simons
Branch:
Comment: Added preliminary install target.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/Makefile.in      1.14 -> 1.15     15 inserted, 1 deleted

ossp-pkg/petidomo/Makefile.in 1.14 -> 1.15

--- Makefile.in  2000/12/15 16:58:11     1.14
+++ Makefile.in  2000/12/16 12:14:15     1.15
@@ -11,7 +11,7 @@
 sysconfdir      = @sysconfdir@
 sharedstatedir  = @sharedstatedir@
 localstatedir   = @localstatedir@
-libdir          = @libdir@
+libdir          = @libdir@/petidomo
 infodir         = @infodir@
 mandir          = @mandir@
 includedir      = @includedir@
@@ -22,6 +22,7 @@
 RANLIB          = @RANLIB@
 LEX             = @LEX@
 YACC            = @YACC@
+INSTALL         = ../etc/install-sh
 
 CFLAGS          = @CFLAGS@
 CXXFLAGS        = @CXXFLAGS@
@@ -65,6 +66,19 @@
 $(LIBS):
         (cd `echo $@ | sed -e 's@/.*@@'` && $(MAKE) $(FLAGS_TO_PASS))
 
+
+
+install:        petidomo
+        if [ ! -d $(bindir) ]; then $(INSTALL) -d $(bindir); fi
+        $(INSTALL) -c -s -m 555 petidomo $(bindir)
+        #
+        if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
+        $(INSTALL) -c -m 444 ../etc/help $(libdir)/help
+        #
+        #if [ ! -d $(sysconfdir) ]; then $(INSTALL) -d $(sysconfdir); fi
+        #$(INSTALL) -c -m 640 ../etc/master-config $(sysconfdir)/petidomo.conf
+        #$(INSTALL) -c -m 640 ../etc/master-acl $(sysconfdir)/acl
+
 clean distclean realclean::
         @for n in lib*; do (cd $$n && $(MAKE) $@); done
 

CVSTrac 2.0.1