diff options
author | ghen <ghen@pkgsrc.org> | 2006-04-03 18:17:54 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2006-04-03 18:17:54 +0000 |
commit | ee1958d357abba5efa70f5b638c59403c9c7759c (patch) | |
tree | b9bdcec82d1a21d1ff9c0415385173c547c11167 /emulators/suse100_linux | |
parent | c4e234f2bfd5f2d8d625d3d47403bdf34706126f (diff) | |
download | pkgsrc-ee1958d357abba5efa70f5b638c59403c9c7759c.tar.gz |
Unify all distinfo.${MACHINE_ARCH} distfiles into one distinfo file, so
that lintpkgsrc -or doesn't want to remove all suse100_* distfiles every
time (because it looks only at "distinfo").
To make it easy to maintain these distinfo files, add a "suse100-distinfo"
target (modelled after www/opera's "opera-distinfo" target), to regenerate
the distinfo file for all supported platforms.
Discussed with tonio.
Diffstat (limited to 'emulators/suse100_linux')
-rw-r--r-- | emulators/suse100_linux/Makefile.common | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/emulators/suse100_linux/Makefile.common b/emulators/suse100_linux/Makefile.common index 6b9cbcc67b4..bce15c19a80 100644 --- a/emulators/suse100_linux/Makefile.common +++ b/emulators/suse100_linux/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1.1.1 2006/03/09 20:33:46 tonio Exp $ +# $NetBSD: Makefile.common,v 1.2 2006/04/03 18:17:55 ghen Exp $ .include "../../emulators/suse100_linux/vars.mk" .include "../../emulators/suse100_linux/arch.mk" @@ -43,6 +43,19 @@ RPM2PKGARGS+= -i ${TEMP} RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP} .endfor +# regenerate distinfo for all platforms supported by the suse100_* packages +suse100-distinfo: + ( ${ECHO} '$$NetBSD: Makefile.common,v 1.2 2006/04/03 18:17:55 ghen Exp $$'; \ + ${ECHO} ''; \ + MACHINE_ARCH=i386 ${MAKE} distinfo 1>&2; \ + ${GREP} rpm distinfo; \ + MACHINE_ARCH=powerpc ${MAKE} distinfo 1>&2; \ + ${GREP} rpm distinfo; \ + MACHINE_ARCH=x86_64 ${MAKE} distinfo 1>&2; \ + ${GREP} rpm distinfo; \ + ) > distinfo.new + ${MV} -f distinfo.new distinfo + .if !target(do-install) do-install: @if [ -f ${PKGDIR}/PLIST ]; then \ |