Re: [PATCH 1/2] Fix make dist relating to xmlconf conditional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve,
I was trying this way too, but it has problem, that after build, make clean doesn't clean corosync-xmlproc.

Honza

Steven Dake napsal(a):
Signed-off-by: Steven Dake <sdake@xxxxxxxxxx>
---
 tools/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index 3089150..614b24e 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -41,13 +41,13 @@ sbin_PROGRAMS		= corosync-fplay corosync-cfgtool \
 bin_SCRIPTS		= corosync-blackbox
if INSTALL_XMLCONF
-bin_PROGRAMS		= corosync-xmlproc
+bin_SCRIPTS		+= corosync-xmlproc
+endif
corosync-xmlproc: corosync-xmlproc.sh
 	sed -e 's#@''DATADIR@#${datadir}#g' $< > $@
-endif
-EXTRA_DIST = $(bin_SCRIPTS) corosync-notifyd.sysconfig.example
+EXTRA_DIST		= $(bin_SCRIPTS) corosync-xmlproc.sh corosync-notifyd.sysconfig.example
corosync_fplay_LDADD = $(LIBQB_LIBS)
 corosync_pload_LDADD	= -lpload $(LIBQB_LIBS)

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux