[svn:parrot] r37574 - trunk/ports/debian
allison at svn.parrot.org
allison at svn.parrot.org
Thu Mar 19 03:37:01 UTC 2009
Author: allison
Date: Thu Mar 19 03:36:54 2009
New Revision: 37574
URL: https://trac.parrot.org/parrot/changeset/37574
Log:
[debian] Shift the install manifests over to generated files, so
versioned paths can be substituted.
Added:
trunk/ports/debian/libparrot-dev.install.in (props changed)
- copied unchanged from r37573, trunk/ports/debian/libparrot-dev.install
trunk/ports/debian/parrot-doc.install.in (props changed)
- copied unchanged from r37573, trunk/ports/debian/parrot-doc.install
trunk/ports/debian/parrot.install.in (props changed)
- copied unchanged from r37573, trunk/ports/debian/parrot.install
Deleted:
trunk/ports/debian/libparrot-dev.install
trunk/ports/debian/parrot-doc.install
trunk/ports/debian/parrot.install
Modified:
trunk/ports/debian/rules
Deleted: trunk/ports/debian/libparrot-dev.install
==============================================================================
--- trunk/ports/debian/libparrot-dev.install Thu Mar 19 03:36:54 2009 (r37573)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,3 +0,0 @@
-usr/include/*
-usr/lib/libparrot.a
-usr/lib/pkgconfig/parrot/*
Copied: trunk/ports/debian/libparrot-dev.install.in (from r37573, trunk/ports/debian/libparrot-dev.install)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/ports/debian/libparrot-dev.install.in Thu Mar 19 03:36:54 2009 (r37574, copy of r37573, trunk/ports/debian/libparrot-dev.install)
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/libparrot.a
+usr/lib/pkgconfig/parrot/*
Deleted: trunk/ports/debian/parrot-doc.install
==============================================================================
--- trunk/ports/debian/parrot-doc.install Thu Mar 19 03:36:54 2009 (r37573)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1 +0,0 @@
-usr/share/doc/parrot/*
Copied: trunk/ports/debian/parrot-doc.install.in (from r37573, trunk/ports/debian/parrot-doc.install)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/ports/debian/parrot-doc.install.in Thu Mar 19 03:36:54 2009 (r37574, copy of r37573, trunk/ports/debian/parrot-doc.install)
@@ -0,0 +1 @@
+usr/share/doc/parrot/*
Deleted: trunk/ports/debian/parrot.install
==============================================================================
--- trunk/ports/debian/parrot.install Thu Mar 19 03:36:54 2009 (r37573)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,6 +0,0 @@
-usr/bin/parrot
-usr/bin/pbc_disassemble
-usr/bin/pbc_dump
-usr/bin/pbc_info
-usr/bin/pbc_merge
-usr/lib/parrot/*
Copied: trunk/ports/debian/parrot.install.in (from r37573, trunk/ports/debian/parrot.install)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/ports/debian/parrot.install.in Thu Mar 19 03:36:54 2009 (r37574, copy of r37573, trunk/ports/debian/parrot.install)
@@ -0,0 +1,6 @@
+usr/bin/parrot
+usr/bin/pbc_disassemble
+usr/bin/pbc_dump
+usr/bin/pbc_info
+usr/bin/pbc_merge
+usr/lib/parrot/*
Modified: trunk/ports/debian/rules
==============================================================================
--- trunk/ports/debian/rules Thu Mar 19 01:19:50 2009 (r37573)
+++ trunk/ports/debian/rules Thu Mar 19 03:36:54 2009 (r37574)
@@ -10,8 +10,19 @@
CFLAGS += -O2
endif
-debian-control-stamp: debian/control.in VERSION
- perl -p -e 's/%SOVERSION%/$(SOVERSION)/g' $< > debian/control
+CONTROL_FILES = \
+ debian/control.in \
+ debian/parrot.install.in \
+ debian/parrot-doc.install.in \
+ debian/libparrot-dev.install.in
+
+debian-control-stamp: $(CONTROL_FILES) VERSION
+ for infile in $(CONTROL_FILES); do \
+ outfile=`echo $$infile | sed "s/\.in$$//"`; \
+ sed -e "s/@VERSION@/$(VERSION)/g" \
+ -e "s/@SOVERSION@/$(SOVERSION)/g" \
+ <$$infile >$$outfile; \
+ done
touch $@
configure: configure-stamp
More information about the parrot-commits
mailing list