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>
This commit is contained in:
Karel Zak 2007-02-08 12:38:25 +01:00
parent 061999ee0d
commit b8d1314dc6
13 changed files with 37 additions and 21 deletions

View File

@ -20,19 +20,25 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = config/include-Makefile.am \ EXTRA_DIST = config/include-Makefile.am \
autogen.sh \ autogen.sh \
licenses/COPYING.GPL \ README.* \
licenses/COPYING.UCB licenses/* \
example.files/* \
po/Makevars.template \
po/update-potfiles
distclean-local: distclean-local:
-find . \( -name \*~ -o -name \*.orig -o -name \*.rej \) -exec rm -f {} \; -find . \( -name \*~ -o -name \*.orig -o -name \*.rej \) -exec rm -f {} \;
rm -rf autom4te.cache rm -rf autom4te.cache
mrproper: distclean mrproper: distclean
-find -name Makefile.in -exec rm -f {} \; if [ -f ".gitignore" ]; then \
rm -f configure ABOUT-NLS find -name Makefile.in -exec rm -f {} \; ; \
rm -rf m4 rm -f configure ABOUT-NLS ; \
cd po; rm -f `cat .gitignore`; cd .. rm -rf m4 ; \
cd config; rm -f `cat ../.gitignore`; cd .. 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 # 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 # not included to the distribution. A solution is use dist_man_MANS or

4
TODO
View File

@ -10,3 +10,7 @@
(see mkswap.c and fdisk/disksize.c) (see mkswap.c and fdisk/disksize.c)
- use EXIT_FAILED and EXIT_SUCCESS from stdlib.h for exit() codes - use EXIT_FAILED and EXIT_SUCCESS from stdlib.h for exit() codes
- build-sys:
- add exampledir and example_DATA
- add readmedir and readme_DATA

View File

@ -1,6 +1,6 @@
include $(top_srcdir)/config/include-Makefile.am include $(top_srcdir)/config/include-Makefile.am
EXTRA_DIST = README.fdisk README.cfdisk EXTRA_DIST = README.* sfdisk.examples partitiontype.c
if !M68K if !M68K
@ -8,7 +8,8 @@ sbin_PROGRAMS = fdisk
man_MANS = fdisk.8 man_MANS = fdisk.8
fdisk_SOURCES = fdisk.c disksize.c fdiskbsdlabel.c fdisksgilabel.c \ fdisk_SOURCES = fdisk.c disksize.c fdiskbsdlabel.c fdisksgilabel.c \
fdisksunlabel.c fdiskaixlabel.c i386_sys_types.c partname.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 if !SPARC

View File

@ -6,3 +6,4 @@ sbin_PROGRAMS = hwclock
hwclock_SOURCES = hwclock.c cmos.c rtc.c kd.c clock.h hwclock_SOURCES = hwclock.c cmos.c rtc.c kd.c clock.h
EXTRA_DIST = README.* clock-ppc.c

View File

@ -1,7 +1,10 @@
include $(top_srcdir)/config/include-Makefile.am include $(top_srcdir)/config/include-Makefile.am
EXTRA_DIST = README.cal README.namei README1.namei chkdupexe.pl \ EXTRA_DIST = README.* \
scriptreplay.pl chkdupexe.pl \
scriptreplay.pl \
reset \
reset.033c
bin_PROGRAMS = bin_PROGRAMS =

View File

@ -49,7 +49,6 @@ login-utils/vipw.c
login-utils/wall.c login-utils/wall.c
misc-utils/cal.c misc-utils/cal.c
misc-utils/ddate.c misc-utils/ddate.c
misc-utils/flushb.c
misc-utils/kill.c misc-utils/kill.c
misc-utils/logger.c misc-utils/logger.c
misc-utils/look.c misc-utils/look.c
@ -65,12 +64,12 @@ mount/fstab.c
mount/get_label_uuid.c mount/get_label_uuid.c
mount/getusername.c mount/getusername.c
mount/lomount.c mount/lomount.c
mount/mount_mntent.c
mount/mount_blkid.c mount/mount_blkid.c
mount/mount_by_label.c mount/mount_by_label.c
mount/mount.c mount/mount.c
mount/mount_guess_fstype.c mount/mount_guess_fstype.c
mount/mount_guess_rootdev.c mount/mount_guess_rootdev.c
mount/mount_mntent.c
mount/nfsmount.c mount/nfsmount.c
mount/nfsmount_clnt.c mount/nfsmount_clnt.c
mount/nfsmount_xdr.c mount/nfsmount_xdr.c

View File

@ -2,19 +2,21 @@ include $(top_srcdir)/config/include-Makefile.am
SUBDIRS = helpers SUBDIRS = helpers
EXTRA_DIST = commands.sh.in \ EXTRA_DIST = expected/* \
functions.sh \ functions.sh \
ts-mount-paths \ input/* \
README \
run.sh \
ts-col-multibyte \
ts-ipcs-headers \ ts-ipcs-headers \
ts-ipcs-limits \ ts-ipcs-limits \
ts-ipcs-limits2 \ ts-ipcs-limits2 \
ts-ipcs.sh \
ts-mkswap-doit \ ts-mkswap-doit \
expected/ts-mount-paths \ ts-mount-paths \
expected/ts-ipcs-headers \ ts-namei-logic
expected/ts-ipcs-limits \
expected/ts-ipcs-limits2 \
expected/ts-mkswap-doit
distclean-local: distclean-local:
rm -rf output diff rm -rf output diff

View File

@ -1,6 +1,6 @@
include $(top_srcdir)/config/include-Makefile.am 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 usrbinexec_PROGRAMS = col colcrt colrm column hexdump rev line tailf