[Glibc-bsd-commits] r6110 - trunk/freebsd-manpages/debian
abe at alioth.debian.org
abe at alioth.debian.org
Sat Sep 17 23:47:33 UTC 2016
Author: abe
Date: 2016-09-17 23:47:32 +0000 (Sat, 17 Sep 2016)
New Revision: 6110
Modified:
trunk/freebsd-manpages/debian/changelog
trunk/freebsd-manpages/debian/rules
Log:
Unify get-orig-source and get-orig-source-beta targets via ifdef BETA
Modified: trunk/freebsd-manpages/debian/changelog
===================================================================
--- trunk/freebsd-manpages/debian/changelog 2016-09-17 23:39:37 UTC (rev 6109)
+++ trunk/freebsd-manpages/debian/changelog 2016-09-17 23:47:32 UTC (rev 6110)
@@ -12,6 +12,7 @@
* Include security(7) and securelevel(7) man pages. (Closes: #737717)
+ Only include the man pages from section 3 and 7 in generated
upstream tar ball which are also shipped in the binary package.
+ * Unify get-orig-source and get-orig-source-beta targets via ifdef BETA.
-- Axel Beckert <abe at debian.org> Sat, 17 Sep 2016 23:38:41 +0200
Modified: trunk/freebsd-manpages/debian/rules
===================================================================
--- trunk/freebsd-manpages/debian/rules 2016-09-17 23:39:37 UTC (rev 6109)
+++ trunk/freebsd-manpages/debian/rules 2016-09-17 23:47:32 UTC (rev 6110)
@@ -6,6 +6,14 @@
VER=10.3
#BETA=RC1
+ifdef BETA
+UPSVER=$(VER)-$(BETA)
+DEBVER=$(VER)~$(BETA)
+else
+UPSVER=$(VER)
+DEBVER=$(VER)
+endif
+
b% i% c%:
dh $@
@@ -20,31 +28,16 @@
dh_installman
hardlink -m -t $(DESTDIR)/usr/share/man
-# make -f debian/rules get-orig-source-beta
-get-orig-source-beta: ../freebsd-manpages_$(VER)~$(BETA).orig.tar.xz
-../freebsd-manpages_$(VER)~$(BETA).orig.tar.xz: ../base-$(VER)-$(BETA).txz
- mkdir -pv debian/repack1 debian/repack2/usr/share/man/man7 debian/repack2/usr/share/man/man3
- cd debian/repack1; tar xvJ --no-xattrs -f ../../../base-$(VER)-$(BETA).txz
- mv -v debian/repack1/usr/share/man/man2 debian/repack1/usr/share/man/man4 debian/repack1/usr/share/man/man9 debian/repack2/usr/share/man/
- mv -v debian/repack1/usr/share/man/man3/sysctl.3.gz debian/repack2/usr/share/man/man3/
- mv -v debian/repack1/usr/share/man/man7/secur*.7.gz debian/repack2/usr/share/man/man7/
- cd debian/repack2; tar cvJf ../../../freebsd-manpages_$(VER)~$(BETA).orig.tar.xz ./usr/share/man
- rm -rf debian/repack?
-
-../base-$(VER)-$(BETA).txz:
- wget -O $@ http://ftp.freebsd.org/pub/FreeBSD/releases/i386/$(VER)-$(BETA)/base.txz
-
# make -f debian/rules get-orig-source
-get-orig-source: ../freebsd-manpages_$(VER).orig.tar.xz
-../freebsd-manpages_$(VER).orig.tar.xz: ../base-$(VER).txz
+get-orig-source: ../freebsd-manpages_$(DEBVER).orig.tar.xz
+../freebsd-manpages_$(DEBVER).orig.tar.xz: ../base-$(UPSVER).txz
mkdir -pv debian/repack1 debian/repack2/usr/share/man/man7 debian/repack2/usr/share/man/man3
- cd debian/repack1; tar xvJ --no-xattrs -f ../../../base-$(VER).txz
+ cd debian/repack1; tar xvJ --no-xattrs -f ../../../base-$(UPSVER).txz
mv -v debian/repack1/usr/share/man/man2 debian/repack1/usr/share/man/man4 debian/repack1/usr/share/man/man9 debian/repack2/usr/share/man/
mv -v debian/repack1/usr/share/man/man3/sysctl.3.gz debian/repack2/usr/share/man/man3/
mv -v debian/repack1/usr/share/man/man7/secur*.7.gz debian/repack2/usr/share/man/man7/
- cd debian/repack2; tar cvJf ../../../freebsd-manpages_$(VER).orig.tar.xz ./usr/share/man
+ cd debian/repack2; tar cvJf ../../../freebsd-manpages_$(DEBVER).orig.tar.xz ./usr/share/man
rm -rf debian/repack?
-../base-$(VER).txz:
- wget -O $@ http://ftp.freebsd.org/pub/FreeBSD/releases/i386/$(VER)-RELEASE/base.txz
-1
+../base-$(UPSVER).txz:
+ wget -O $@ http://ftp.freebsd.org/pub/FreeBSD/releases/i386/$(UPSVER)/base.txz
More information about the Glibc-bsd-commits
mailing list