public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Miloslav Trmac <mitr@redhat.com>
To: "John D. Ramsdell" <ramsdell@mitre.org>
Cc: linux-audit@redhat.com
Subject: Re: [PATCH] dist target fixes
Date: Mon, 30 Jul 2007 16:32:12 +0200	[thread overview]
Message-ID: <46ADF66C.4080805@redhat.com> (raw)
In-Reply-To: <ogt4pjmrt2z.fsf@quake.mitre.org>

Hello,
John D. Ramsdell napsal(a):
> diff -ur a/audit-1.5.6/Makefile.am b/audit-1.5.6/Makefile.am
> --- a/audit-1.5.6/Makefile.am	2007-06-27 06:19:18.000000000 -0400
> +++ b/audit-1.5.6/Makefile.am	2007-07-30 07:53:45.000000000 -0400
> @@ -21,9 +21,14 @@
>  #   Rickard E. (Rik) Faith <faith@redhat.com>
>  #
>  
> -SUBDIRS = lib auparse src/mt src audisp swig bindings init.d docs system-config-audit
> -EXTRA_DIST = ChangeLog AUTHORS NEWS README sample.rules contrib/capp.rules contrib/nispom.rules contrib/lspp.rules contrib/skeleton.c README-install audit.spec
> -CONFIG_CLEAN_FILES = Makefile.in aclocal.m4* config.h.* configure debug*.list config/*
> +SUBDIRS = lib auparse src/mt src audisp swig bindings init.d docs	\
> +system-config-audit
> +EXTRA_DIST = ChangeLog AUTHORS NEWS README sample.rules		\
> +contrib/capp.rules contrib/nispom.rules contrib/lspp.rules	\
> +contrib/skeleton.c contrib/avc_snap contrib/avc_syslog		\
> +system-config-audit.lang README-install audit.spec
system-config-audit.lang is generated by %install when building the rpm,
and should not be in the tarball at all.

> diff -ur a/audit-1.5.6/system-config-audit/Makefile.am b/audit-1.5.6/system-config-audit/Makefile.am
> --- a/audit-1.5.6/system-config-audit/Makefile.am	2007-07-25 14:25:05.000000000 -0400
> +++ b/audit-1.5.6/system-config-audit/Makefile.am	2007-07-30 07:49:09.000000000 -0400
> @@ -58,11 +58,21 @@
>  CLEANFILES = $(applications_DATA) $(bin_SCRIPTS) $(nodist_pkgdata_PYTHON) \
>  	admin/system-config-audit-server.console
>  DISTCLEANFILES = intltool-extract intltool-merge intltool-update 
> -EXTRA_DIST = admin/intltool-extract.in admin/intltool-merge.in \
> -	admin/intltool-update.in admin/system-config-audit-server.console.in \
> -	admin/system-config-audit-server.pam \
> -	src/settings.py.in src/system-config-audit.in \
> -	system-config-audit.desktop.in
> +EXTRA_DIST = admin/intltool-extract.in admin/intltool-merge.in		\
> +	admin/intltool-update.in					\
> +	admin/system-config-audit-server.console.in			\
> +	admin/system-config-audit-server.pam src/settings.py.in		\
> +	src/system-config-audit.in system-config-audit.desktop.in	\
> +	m4/codeset.m4 m4/gettext.m4 m4/glibc21.m4 m4/glibc2.m4		\
> +	m4/iconv.m4 m4/intdiv0.m4 m4/intldir.m4 m4/intl.m4		\
> +	m4/intmax.m4 m4/inttypes_h.m4 m4/inttypes.m4			\
> +	m4/inttypes-pri.m4 m4/isc-posix.m4 m4/lcmessage.m4		\
> +	m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/lock.m4		\
> +	m4/longdouble.m4 m4/longlong.m4 m4/nls.m4 m4/po.m4		\
> +	m4/printf-posix.m4 m4/progtest.m4 m4/signed.m4 m4/size_max.m4	\
> +	m4/stdint_h.m4 m4/uintmax_t.m4 m4/ulonglong.m4			\
> +	m4/visibility.m4 m4/wchar_t.m4 m4/wint_t.m4 m4/xsize.m4
A better solution is to change s-c-audit/autogen.sh (and to distribute
the autogen.sh files):
diff -urN audit-1.5.6/system-config-audit/autogen.sh
audit/system-config-audit/autogen.sh
--- audit-1.5.6/system-config-audit/autogen.sh	2007-06-27
12:44:22.000000000 +0200
+++ audit/system-config-audit/autogen.sh	2007-07-30 16:21:05.000000000 +0200
@@ -6,7 +6,7 @@
 intltoolize --force
 rm admin/po

-aclocal
+aclocal -I m4
 autoconf -Wall
 autoheader -Wall
 automake -Wall --add-missing

This will add only the .m4 files that are used by system-config-audit to
the tarball, not all .m4 files provided by gettext.
	Mirek

  reply	other threads:[~2007-07-30 14:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 12:09 [PATCH] dist target fixes John D. Ramsdell
2007-07-30 14:32 ` Miloslav Trmac [this message]
2007-07-30 15:02   ` John D. Ramsdell
2007-07-30 15:03     ` Miloslav Trmac
2007-07-30 15:11       ` John D. Ramsdell
2007-07-30 15:19         ` Miloslav Trmac
2007-07-30 17:08           ` John D. Ramsdell
2007-07-30 17:12             ` Miloslav Trmac
2007-07-30 17:33           ` John D. Ramsdell
2007-08-03 14:11             ` [PATCH] dist target fixes with Mirek's improvements John D. Ramsdell
2007-08-27 20:19 ` [PATCH] dist target fixes Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46ADF66C.4080805@redhat.com \
    --to=mitr@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=ramsdell@mitre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox