summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2007-02-08 12:38:25 +0100
committerKarel Zak2007-02-08 12:38:25 +0100
commitb8d1314dc6ceeb998632102d5f93cda5e2548f8d (patch)
treecfe10b664e00613db5fc2d6bd4b585600e3cdcee
parentmkswap: add regression test (diff)
downloadkernel-qcow2-util-linux-b8d1314dc6ceeb998632102d5f93cda5e2548f8d.tar.gz
kernel-qcow2-util-linux-b8d1314dc6ceeb998632102d5f93cda5e2548f8d.tar.xz
kernel-qcow2-util-linux-b8d1314dc6ceeb998632102d5f93cda5e2548f8d.zip
build-sys: fix README filenames and add missing files to EXTRA_DISTs
Also, the patch makes "make mrproper" more robust. Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--Makefile.am20
-rw-r--r--TODO4
-rw-r--r--fdisk/Makefile.am5
-rw-r--r--hwclock/Makefile.am1
-rw-r--r--misc-utils/Makefile.am7
-rw-r--r--misc-utils/README.ddate (renamed from misc-utils/ddate.doc)0
-rw-r--r--misc-utils/README.flushb (renamed from misc-utils/flushb.c)0
-rw-r--r--misc-utils/README.namei2 (renamed from misc-utils/README1.namei)0
-rw-r--r--misc-utils/README.reset (renamed from text-utils/README.reset)0
-rwxr-xr-xmisc-utils/reset.033c (renamed from text-utils/reset)0
-rw-r--r--po/POTFILES.in3
-rw-r--r--tests/Makefile.am16
-rw-r--r--text-utils/Makefile.am2
13 files changed, 37 insertions, 21 deletions
diff --git a/Makefile.am b/Makefile.am
index b5293e2f9..b1ab4e240 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,19 +20,25 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = config/include-Makefile.am \
autogen.sh \
- licenses/COPYING.GPL \
- licenses/COPYING.UCB
+ README.* \
+ licenses/* \
+ example.files/* \
+ po/Makevars.template \
+ po/update-potfiles
+
distclean-local:
-find . \( -name \*~ -o -name \*.orig -o -name \*.rej \) -exec rm -f {} \;
rm -rf autom4te.cache
mrproper: distclean
- -find -name Makefile.in -exec rm -f {} \;
- rm -f configure ABOUT-NLS
- rm -rf m4
- cd po; rm -f `cat .gitignore`; cd ..
- cd config; rm -f `cat ../.gitignore`; cd ..
+ if [ -f ".gitignore" ]; then \
+ find -name Makefile.in -exec rm -f {} \; ; \
+ rm -f configure ABOUT-NLS ; \
+ rm -rf m4 ; \
+ cd config; rm -f `cat ../.gitignore`; cd .. ; \
+ cd po; rm -f `cat .gitignore`; cd .. ; \
+ fi
# The automake is very stupid for work with man pages. The files from man_MANS are
# not included to the distribution. A solution is use dist_man_MANS or
diff --git a/TODO b/TODO
index dccaf1b37..5546c316b 100644
--- a/TODO
+++ b/TODO
@@ -10,3 +10,7 @@
(see mkswap.c and fdisk/disksize.c)
- use EXIT_FAILED and EXIT_SUCCESS from stdlib.h for exit() codes
+
+- build-sys:
+ - add exampledir and example_DATA
+ - add readmedir and readme_DATA
diff --git a/fdisk/Makefile.am b/fdisk/Makefile.am
index 36c0e38e9..904d00192 100644
--- a/fdisk/Makefile.am
+++ b/fdisk/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/include-Makefile.am
-EXTRA_DIST = README.fdisk README.cfdisk
+EXTRA_DIST = README.* sfdisk.examples partitiontype.c
if !M68K
@@ -8,7 +8,8 @@ sbin_PROGRAMS = fdisk
man_MANS = fdisk.8
fdisk_SOURCES = fdisk.c disksize.c fdiskbsdlabel.c fdisksgilabel.c \
fdisksunlabel.c fdiskaixlabel.c i386_sys_types.c partname.c \
- common.h fdisk.h fdisksunlabel.h fdisksgilabel.h fdiskaixlabel.h fdiskbsdlabel.h
+ common.h fdisk.h fdisksunlabel.h fdisksgilabel.h fdiskaixlabel.h \
+ fdiskbsdlabel.h
if !SPARC
diff --git a/hwclock/Makefile.am b/hwclock/Makefile.am
index ce48b9d39..d2de98229 100644
--- a/hwclock/Makefile.am
+++ b/hwclock/Makefile.am
@@ -6,3 +6,4 @@ sbin_PROGRAMS = hwclock
hwclock_SOURCES = hwclock.c cmos.c rtc.c kd.c clock.h
+EXTRA_DIST = README.* clock-ppc.c
diff --git a/misc-utils/Makefile.am b/misc-utils/Makefile.am
index 4d2596ddd..0e680f5a5 100644
--- a/misc-utils/Makefile.am
+++ b/misc-utils/Makefile.am
@@ -1,7 +1,10 @@
include $(top_srcdir)/config/include-Makefile.am
-EXTRA_DIST = README.cal README.namei README1.namei chkdupexe.pl \
- scriptreplay.pl
+EXTRA_DIST = README.* \
+ chkdupexe.pl \
+ scriptreplay.pl \
+ reset \
+ reset.033c
bin_PROGRAMS =
diff --git a/misc-utils/ddate.doc b/misc-utils/README.ddate
index 87d0fb8bb..87d0fb8bb 100644
--- a/misc-utils/ddate.doc
+++ b/misc-utils/README.ddate
diff --git a/misc-utils/flushb.c b/misc-utils/README.flushb
index 34ef9cf63..34ef9cf63 100644
--- a/misc-utils/flushb.c
+++ b/misc-utils/README.flushb
diff --git a/misc-utils/README1.namei b/misc-utils/README.namei2
index fea56a3ce..fea56a3ce 100644
--- a/misc-utils/README1.namei
+++ b/misc-utils/README.namei2
diff --git a/text-utils/README.reset b/misc-utils/README.reset
index 8060d265d..8060d265d 100644
--- a/text-utils/README.reset
+++ b/misc-utils/README.reset
diff --git a/text-utils/reset b/misc-utils/reset.033c
index fb9834db2..fb9834db2 100755
--- a/text-utils/reset
+++ b/misc-utils/reset.033c
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ad91dfa4e..1c0789fc8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -49,7 +49,6 @@ login-utils/vipw.c
login-utils/wall.c
misc-utils/cal.c
misc-utils/ddate.c
-misc-utils/flushb.c
misc-utils/kill.c
misc-utils/logger.c
misc-utils/look.c
@@ -65,12 +64,12 @@ mount/fstab.c
mount/get_label_uuid.c
mount/getusername.c
mount/lomount.c
-mount/mount_mntent.c
mount/mount_blkid.c
mount/mount_by_label.c
mount/mount.c
mount/mount_guess_fstype.c
mount/mount_guess_rootdev.c
+mount/mount_mntent.c
mount/nfsmount.c
mount/nfsmount_clnt.c
mount/nfsmount_xdr.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3ab18b0c0..2be9c4b7d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,19 +2,21 @@ include $(top_srcdir)/config/include-Makefile.am
SUBDIRS = helpers
-EXTRA_DIST = commands.sh.in \
+EXTRA_DIST = expected/* \
functions.sh \
- ts-mount-paths \
+ input/* \
+ README \
+ run.sh \
+ ts-col-multibyte \
ts-ipcs-headers \
ts-ipcs-limits \
ts-ipcs-limits2 \
+ ts-ipcs.sh \
ts-mkswap-doit \
- expected/ts-mount-paths \
- expected/ts-ipcs-headers \
- expected/ts-ipcs-limits \
- expected/ts-ipcs-limits2 \
- expected/ts-mkswap-doit
+ ts-mount-paths \
+ ts-namei-logic
distclean-local:
rm -rf output diff
+
diff --git a/text-utils/Makefile.am b/text-utils/Makefile.am
index 3c8b33bcc..f3c3dca82 100644
--- a/text-utils/Makefile.am
+++ b/text-utils/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/include-Makefile.am
-EXTRA_DIST = README.clear README.col README.pg README.reset LICENSE.pg
+EXTRA_DIST = README.* LICENSE.*
usrbinexec_PROGRAMS = col colcrt colrm column hexdump rev line tailf