Discussion:
Specify target in Makefile.am file
Avneet Kaur
2013-06-12 17:06:31 UTC
Permalink
We use SUBDIRS to specify the sub directories in Makefile.am file like

SUBDIRS = src doc examples bindings

Run "make" will compile the makefile under these directories by default.

But I want to remove doc from default option like it will run by "make
doc" target only.

This is looking for what step or variable??
Wiating for your response.


--
Avneet Kaur
www.avneetkhasla.wordpress.com
Avneet Kaur
2013-06-12 17:53:42 UTC
Permalink
Post by Avneet Kaur
But I want to remove doc from default option like it will run by "make
doc" target only.
This is looking for what step or variable??
For this, DIST_SUBDIRS is a right solution?


--
Avneet Kaur
www.avneetkhasla.wordpress.com
Eric Blake
2013-06-15 10:09:16 UTC
Permalink
Post by Avneet Kaur
We use SUBDIRS to specify the sub directories in Makefile.am file like
SUBDIRS = src doc examples bindings
Makefile.am is managed by automake, not autoconf. You might get better
answers by asking on the automake list.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Loading...