OSSP CVS Repository

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

Check-in Number: 3600
Date: 2003-Sep-10 15:57:30 (local)
2003-Sep-10 13:57:30 (UTC)
User:rse
Branch:
Comment: Place executable snmpdx into sbindir/ and man/man8/
Tickets:
Inspections:
Files:
ossp-pkg/snmpdx/ChangeLog      1.8 -> 1.9     3 inserted, 0 deleted
ossp-pkg/snmpdx/Makefile.in      1.8 -> 1.9     11 inserted, 10 deleted

ossp-pkg/snmpdx/ChangeLog 1.8 -> 1.9

--- ChangeLog    2003/09/10 13:54:33     1.8
+++ ChangeLog    2003/09/10 13:57:30     1.9
@@ -10,6 +10,9 @@
 
   Changes between 0.2.5 and 0.2.6 (10-Sep-2003 to 10-Sep-2003):
 
+   *) Place executable "snmpdx" into sbindir/ and man/man8/
+      [Ralf S. Engelschall]
+
    *) Find pod2man(1) side-by-side with perl(1) executable.
       [Ralf S. Engelschall]
 


ossp-pkg/snmpdx/Makefile.in 1.8 -> 1.9

--- Makefile.in  2003/09/10 13:54:33     1.8
+++ Makefile.in  2003/09/10 13:57:30     1.9
@@ -38,6 +38,7 @@
 prefix        = @prefix@
 exec_prefix   = @exec_prefix@
 bindir        = @bindir@
+sbindir       = @sbindir@
 libdir        = @libdir@
 sysconfdir    = @sysconfdir@
 libexecdir    = @libexecdir@
@@ -48,7 +49,7 @@
 
 DESTDIR       =
 
-all: snmpdx snmpdx.cfg snmpdx.1
+all: snmpdx snmpdx.cfg snmpdx.8
 
 snmpdx: snmpdx.pl
         @$(SHTOOL) echo -e "%Bgenerating snmpdx%b"
@@ -73,28 +74,28 @@
                 -e 's;\@localstatedir\@;$(localstatedir);g' \
                 <snmpdx.cfg.in >snmpdx.cfg
 
-snmpdx.1: snmpdx.pod
-        @$(SHTOOL) echo -e "%Bgenerating snmpdx.1%b"
+snmpdx.8: snmpdx.pod
+        @$(SHTOOL) echo -e "%Bgenerating snmpdx.8%b"
         V=`$(SHTOOL) version -l txt -d short VERSION`; \
         D=`$(SHTOOL) version -l txt -d long VERSION | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \
-        $(POD2MAN) --section=1 --center="SNMP Daemon Extension" \
-                   --release="$$D" --date="OSSP snmpdx $$V" snmpdx.pod >snmpdx.1
+        $(POD2MAN) --section=8 --center="SNMP Daemon Extension" \
+                   --release="$$D" --date="OSSP snmpdx $$V" snmpdx.pod >snmpdx.8
 
 install: all
-        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(sbindir)
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(sysconfdir)/snmpdx
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(datadir)/snmpdx
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libexecdir)/snmpdx
-        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man8
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(localstatedir)/snmpdx
-        $(SHTOOL) install -c -m 755 snmpdx $(DESTDIR)$(bindir)/snmpdx
+        $(SHTOOL) install -c -m 755 snmpdx $(DESTDIR)$(sbindir)/snmpdx
         $(SHTOOL) install -c -m 644 snmpdx.cfg $(DESTDIR)$(sysconfdir)/snmpdx/snmpdx.cfg
         $(SHTOOL) install -c -m 644 snmpdx.mib/*.mib $(DESTDIR)$(datadir)/snmpdx/
         $(SHTOOL) install -c -m 644 snmpdx.d/*.pm $(DESTDIR)$(libexecdir)/snmpdx/
-        $(SHTOOL) install -c -m 644 snmpdx.1 $(DESTDIR)$(mandir)/man1/snmpdx.1
+        $(SHTOOL) install -c -m 644 snmpdx.8 $(DESTDIR)$(mandir)/man8/snmpdx.8
 
 clean:
-        $(RM) snmpdx snmpdx.cfg snmpdx.1
+        $(RM) snmpdx snmpdx.cfg snmpdx.8
 
 distclean: clean
         $(RM) config.cache config.status config.log

CVSTrac 2.0.1