[Pkg-shadow-devel] Re: [Pkg-shadow-commits] sid/debian/patches 001_Makefile.in.in.dpatch,1.2,1.3
Martin Quinson
martin.quinson@loria.fr
Sat, 7 May 2005 21:26:05 +0200
--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
What about patching the produced Makefile instead? I do belive that runing
autoconf in the package compilation process is a mistake....
But you're the boss ;)
Mt.
On Sat, May 07, 2005 at 05:34:24PM +0000, Christian Perrier wrote:
> --- shadow-4.0.3.orig/po/Makefile.in.in
> +++ shadow-4.0.3/po/Makefile.in.in
> @@ -94,7 +94,7 @@
> install-exec:
> install-data: install-data-@USE_NLS@
> if test "$(PACKAGE)" =3D "gettext"; then \
> - $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
> + $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
> $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
> $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
> else \
> @@ -102,13 +102,13 @@
> fi
> install-data-no: all
> install-data-yes: all
> - $(mkinstalldirs) $(DESTDIR)$(datadir)
> + $(MKINSTALLDIRS) $(DESTDIR)$(datadir)
> @catalogs=3D'$(CATALOGS)'; \
> for cat in $$catalogs; do \
> cat=3D`basename $$cat`; \
> lang=3D`echo $$cat | sed 's/\.gmo$$//'`; \
> dir=3D$(localedir)/$$lang/LC_MESSAGES; \
> - $(mkinstalldirs) $(DESTDIR)$$dir; \
> + $(MKINSTALLDIRS) $(DESTDIR)$$dir; \
> if test -r $$cat; then \
> $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
> echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \
> @@ -142,6 +142,7 @@
> mostlyclean:
> rm -f core core.* *.pox $(PACKAGE).po *.new.po
> rm -fr *.o
> + rm -f $(GMOFILES)
> =20
> clean: mostlyclean
--x+6KMIRAuhnl3hBn
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCfRZNIiC/MeFF8zQRAnvCAJ9uODUfAS1mrPdWgiT1WpxtpRm+swCdHwS+
S7oTcBJusuHorr5bemhk4vg=
=Ee5j
-----END PGP SIGNATURE-----
--x+6KMIRAuhnl3hBn--