Discussion:
How to remove all newly generated files in amhello?
Peng Yu
2013-07-30 22:15:40 UTC
Permalink
Hi,

http://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.
--
Regards,
Peng
Gary V. Vaughan
2013-07-31 00:25:32 UTC
Permalink
Post by Peng Yu
http://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

Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
Peng Yu
2013-07-31 01:00:10 UTC
Permalink
Post by Gary V. Vaughan
Post by Peng Yu
http://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
Eric Blake
2013-07-31 02:04:30 UTC
Permalink
Post by Peng Yu
Hi,
http://www.gnu.org/software/automake/manual/html_node/Creating-amhello.html
You may want to ask this question on the automake list, since that is
the manual you were reading from.
Post by Peng Yu
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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Loading...