r493 - /packages/gnash/trunk/debian/rules

gg0-guest at users.alioth.debian.org gg0-guest at users.alioth.debian.org
Sun Dec 5 13:11:42 UTC 2010


Author: gg0-guest
Date: Sun Dec  5 13:11:36 2010
New Revision: 493

URL: http://svn.debian.org/wsvn/pkg-flash/?sc=1&rev=493
Log:
d/rules cleanup

Modified:
    packages/gnash/trunk/debian/rules

Modified: packages/gnash/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-flash/packages/gnash/trunk/debian/rules?rev=493&op=diff
==============================================================================
--- packages/gnash/trunk/debian/rules (original)
+++ packages/gnash/trunk/debian/rules Sun Dec  5 13:11:36 2010
@@ -11,7 +11,6 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 MAIN_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g')
-#BUILD_VERSION = cvs$(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/^.*cvs//' | sed 's/\..*-.*//')
 BUILD_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/^[()]//' | sed 's/-.*//' | sed 's/~.*//' | sed 's/+.*//')
 
 INFILES := $(wildcard debian/*.desktop.in)
@@ -33,15 +32,6 @@
 	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	MAKEFLAGS += -j$(NUMJOBS)
 endif
-
-# shared library versions, option 1
-#version=2.0.5
-#major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
 
 # CONFIGURE
 
@@ -53,8 +43,6 @@
 		--build=$(DEB_BUILD_GNU_TYPE) \
 		--prefix=/usr \
 		--sysconfdir=/etc \
-		--mandir=\$${prefix}/share/man \
-		--infodir=\$${prefix}/share/info \
 		--disable-testsuite \
 		--without-swfdec-testsuite \
 		--without-ming \
@@ -69,7 +57,7 @@
 		--enable-renderer=all \
 		--enable-docbook \
 		--enable-extensions=all \
-		--with-npapi-plugindir=\$${prefix}/lib/gnash \
+		--with-npapi-plugindir=/usr/lib/gnash \
 		--with-plugins-install=system \
 		--enable-shared=yes \
 		--without-included-ltdl
@@ -128,11 +116,6 @@
 	cd debian/po && intltool-update -g debian --pot && \
 		for i in *.po; do intltool-update -g debian --dist $${i%.po}; done
 	rm -f debian/po/POTFILES.in
-
-#ifeq (Makefile,$(wildcard Makefile))
-#	[ ! -f Makefile ] || $(MAKE) maintainer-clean
-#	[ ! -f Makefile ] || $(MAKE) distclean
-#endif
 
 ifneq ($(wildcard ${AUTO_JUNK}),)
 	rm $(wildcard ${AUTO_JUNK})




More information about the pkg-flash-devel mailing list