Post by Gary V. VaughanPost by Peng Yuhttp://www.gnu.org/software/automake/manual/html_node/Creating-amhello.html
I followed the above instructions to create amhello. After running
`autoreconf -i` and `make`, it generated a lot of files. I tried to
remove all newly generated files by `make distclean`. But this did not
remove all the newly generated files. Could anybody let me know how to
remove the newly generated files? Thanks.
$ make maintainer-clean
No. It still has the following files. I only want to keep the original files.
~/linux/test/gnu/autotools/example/amhello$ make maintainer-clean
Making maintainer-clean in src
test -z "hello" || rm -f hello
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -rf ./.deps
rm -f Makefile
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f config.status config.cache config.log configure.lineno
config.status.lineno
rm -rf ./autom4te.cache
rm -f Makefile
~/linux/test/gnu/autotools/example/amhello$ ls -ltr
total 296
-rw-r--r-- 1 py staff 262 Jul 30 17:03 README.mkd
-rw-r--r-- 1 py staff 41 Jul 30 17:09 Makefile.am
-rw-r--r-- 1 py staff 238 Jul 30 17:27 configure.ac
-rwx--x--x 1 py staff 282 Jul 30 17:35 main.sh
-rw-r--r-- 1 py staff 625 Jul 30 19:56 config.h.in~
-rwxr-xr-x 1 py staff 6873 Jul 30 19:57 missing
-rwxr-xr-x 1 py staff 13997 Jul 30 19:57 install-sh
-rwxr-xr-x 1 py staff 23566 Jul 30 19:57 depcomp
-rwxr-xr-x 1 py staff 7333 Jul 30 19:57 compile
-rw-r--r-- 1 py staff 41921 Jul 30 19:57 aclocal.m4
-rwxr-xr-x 1 py staff 145423 Jul 30 19:57 configure
-rw-r--r-- 1 py staff 625 Jul 30 19:57 config.h.in
-rw-r--r-- 1 py staff 26170 Jul 30 19:57 Makefile.in
drwxr-xr-x 5 py staff 170 Jul 30 19:58 src
--
Regards,
Peng