]> err.no Git - util-linux/commitdiff
build-sys: fix README filenames and add missing files to EXTRA_DISTs
authorKarel Zak <kzak@redhat.com>
Thu, 8 Feb 2007 11:38:25 +0000 (12:38 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 8 Feb 2007 11:38:25 +0000 (12:38 +0100)
Also, the patch makes "make mrproper" more robust.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 files changed:
Makefile.am
TODO
fdisk/Makefile.am
hwclock/Makefile.am
misc-utils/Makefile.am
misc-utils/README.ddate [moved from misc-utils/ddate.doc with 100% similarity]
misc-utils/README.flushb [moved from misc-utils/flushb.c with 100% similarity]
misc-utils/README.namei2 [moved from misc-utils/README1.namei with 100% similarity]
misc-utils/README.reset [moved from text-utils/README.reset with 100% similarity]
misc-utils/reset.033c [moved from text-utils/reset with 100% similarity]
po/POTFILES.in
tests/Makefile.am
text-utils/Makefile.am

index b5293e2f9269300b6b820f0bd9fafa8f345daa0f..b1ab4e2405196fadcd6ebc16ef119499670747b8 100644 (file)
@@ -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 dccaf1b37c38dd340a261340b642118fc7c7cd89..5546c316b15cffc8598bf13cefeffae244696032 100644 (file)
--- 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
index 36c0e38e92e8c15efe185a876e4c998d5ec6870b..904d001929721e2892af0580128b0ff270e940ec 100644 (file)
@@ -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
 
index ce48b9d392313981c4a22b005b0b3dc818f9a1b2..d2de98229701e860f768b637590bc2ea2f4859ff 100644 (file)
@@ -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
index 4d2596ddd4fd63304fe254c2b40e6846226f07e8..0e680f5a526b3fdbc95da39e9e9a61899325da1c 100644 (file)
@@ -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 =
 
similarity index 100%
rename from misc-utils/ddate.doc
rename to misc-utils/README.ddate
similarity index 100%
rename from misc-utils/flushb.c
rename to misc-utils/README.flushb
similarity index 100%
rename from text-utils/reset
rename to misc-utils/reset.033c
index ad91dfa4e66fefe5a3db82fc468dc2e843e13d60..1c0789fc87755d09bece2a8cd98eea627e1e04f9 100644 (file)
@@ -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
index 3ab18b0c09fdfbdb31ec4e6f4d4faf509e9e250a..2be9c4b7da79c7c7cd2661d29638ac8be9890684 100644 (file)
@@ -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
 
+
index 3c8b33bccea8b1701777d13685b0fd30f6d38bd6..f3c3dca820b871d5005795d16e230c31883076bf 100644 (file)
@@ -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