------------------------------------------------------------ revno: 1430 committer: Rene Engelhard <r...@debian.org> branch nick: debian timestamp: Sat 2009-03-07 00:59:57 +0100 message: fix some openoffice-xlate-references modified: rules
=== modified file 'rules' --- a/rules 2009-03-06 09:28:54 +0000 +++ b/rules 2009-03-06 23:59:57 +0000 @@ -1220,8 +1220,8 @@ # Generate control file, because we have so many different languages # Based on script by Martin Quinson <martin.quin...@tuxfamily.org> control: debian/control -debian/control: $(wildcard debian/control*in) debian/scripts/openoffice-xlate-lang debian/rules - chmod 755 $(shell readlink debian/scripts/openoffice-xlate-lang) +debian/control: $(wildcard debian/control*in) $(shell readlink debian/scripts/openoffice-xlate-lang | sed -e 's,../../,,') debian/rules + chmod 755 $(shell readlink debian/scripts/openoffice-xlate-lang | sed -e 's,../../,,') sed -e "s#openoffice.orgVER#openoffice.org$(VER)#g" \ -e "s#broffice.orgVER#broffice.org$(VER)#g" \ -e "s#%$(DIST)=\([^%]*\)%#, \1#g#" \ @@ -1849,7 +1849,7 @@ # Install files generated by setup into package directories langpacks: $(STAMP_DIR)/langpacks -$(STAMP_DIR)/langpacks: $(STAMP_DIR)/install $(STAMP_DIR)/install-indep debian/scripts/openoffice-xlate-lang +$(STAMP_DIR)/langpacks: $(STAMP_DIR)/install $(STAMP_DIR)/install-indep $(shell readlink debian/scripts/openoffice-xlate-lang | sed -e 's,../../,,') # remove empty uno_packages dirs somehow in the langpacks(?) for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \ @@ -2613,7 +2613,7 @@ # install openoffice-xlate-lang install -d -m755 $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin - install -m755 $(shell readlink debian/scripts/openoffice-xlate-lang) \ + install -m755 $(shell readlink debian/scripts/openoffice-xlate-lang | sed -e 's,../../,,') \ $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin ifeq "$(HELPISOS)" ""