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 \
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

4
TODO
View File

@ -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

View 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

View 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

View 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 =

View 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

View 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

View 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