X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=095e0c1839c07b9f0cb35cf7afdd9ea7e681de31;hb=3f54bd02fcf540f9b4b6edc93f3b6b9c7ba136bd;hp=c2e0c6e51c77b5c321bd6083dcec0648309e63b4;hpb=34acb80a28d1b48e734883a32f7f3344dc216ec0;p=libguestfs.git diff --git a/src/Makefile.am b/src/Makefile.am index c2e0c6e..095e0c1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -113,7 +113,7 @@ errnostring_gperf.c: errnostring_gperf.gperf # 'libguestfs.so.0.$(MAX_PROC_NR).0'. libguestfs_la_LDFLAGS = -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) -libguestfs_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)libguestfs.syms +libguestfs_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms libguestfs_la_SOURCES = \ guestfs.c \ @@ -133,6 +133,7 @@ libguestfs_la_SOURCES = \ inspect_fs_cd.c \ inspect_fs_unix.c \ inspect_fs_windows.c \ + inspect_icon.c \ launch.c \ listfs.c \ match.c \ @@ -161,14 +162,14 @@ libguestfs_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib if HAVE_RPCGEN guestfs_protocol.c: guestfs_protocol.x rm -f $@-t $@-t2 - $(RPCGEN) -c -o $@-t $< + $(RPCGEN) -c -o $@-t $(srcdir)/$< sed 's,\.\./\.\./src/,,' < $@-t > $@-t2 rm $@-t mv $@-t2 $@ guestfs_protocol.h: guestfs_protocol.x rm -f $@-t - $(RPCGEN) -h -o $@-t $< + $(RPCGEN) -h -o $@-t $(srcdir)/$< mv $@-t $@ endif @@ -183,12 +184,12 @@ stamp-guestfs.pod: guestfs.pod \ guestfs-actions.pod \ guestfs-availability.pod \ guestfs-structs.pod - $(top_srcdir)/podwrapper.sh \ + $(top_builddir)/podwrapper.sh \ --section 3 \ --man guestfs.3 \ --html $(top_builddir)/html/guestfs.3.html \ - --insert guestfs-actions.pod:@ACTIONS@ \ - --insert guestfs-availability.pod:@AVAILABILITY@ \ - --insert guestfs-structs.pod:@STRUCTS@ \ + --insert $(srcdir)/guestfs-actions.pod:@ACTIONS@ \ + --insert $(srcdir)/guestfs-availability.pod:@AVAILABILITY@ \ + --insert $(srcdir)/guestfs-structs.pod:@STRUCTS@ \ $< touch $@