Merge authors: James Hunt (jamesodhunt) Related merge proposals: https://code.launchpad.net/~jamesodhunt/upstart/libupstart-version-number/+merge/172998 proposed by: James Hunt (jamesodhunt) review: Approve - Dmitrijs Ledkovs (xnox) ------------------------------------------------------------ revno: 1503 [merge] committer: James Hunt <[email protected]> branch nick: upstart-foo timestamp: Thu 2013-07-04 14:33:38 +0100 message: * Merged lp:~jamesodhunt/upstart/libupstart-version-number. renamed: lib/libupstart.pc.in => lib/libupstart.pc.in.in modified: ChangeLog configure.ac lib/Makefile.am lib/libupstart.pc.in.in
-- lp:upstart https://code.launchpad.net/~upstart-devel/upstart/trunk Your team Upstart Reviewers is subscribed to branch lp:upstart. To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'ChangeLog' --- ChangeLog 2013-07-03 12:37:29 +0000 +++ ChangeLog 2013-07-04 10:43:06 +0000 @@ -1,3 +1,8 @@ +2013-07-04 James Hunt <[email protected]> + + * Perform 2-pass generation of libupstart.pc to ensure library + version specified correctly. + 2013-07-03 James Hunt <[email protected]> * extra/upstart-dbus-bridge.c: main(): Check nih_str_split() return. === modified file 'configure.ac' --- configure.ac 2013-07-04 09:56:25 +0000 +++ configure.ac 2013-07-04 10:43:06 +0000 @@ -113,6 +113,6 @@ dbus/Makefile init/Makefile util/Makefile conf/Makefile extra/Makefile doc/Makefile contrib/Makefile po/Makefile.in scripts/Makefile scripts/data/Makefile - test/Makefile lib/Makefile lib/libupstart.pc ]) + test/Makefile lib/Makefile lib/libupstart.pc.in ]) AC_CONFIG_HEADERS([config.h]) AC_OUTPUT === modified file 'lib/Makefile.am' --- lib/Makefile.am 2013-07-02 15:55:48 +0000 +++ lib/Makefile.am 2013-07-04 10:51:53 +0000 @@ -69,11 +69,15 @@ -e 's|[@]libupstart_version[@]|$(LIBUPSTART_VERSION_DOTTED)|g' \ $< > $@ +libupstart.pc: libupstart.pc.in + sed -e 's|[@]LIBUPSTART_VERSION_DOTTED[@]|$(LIBUPSTART_VERSION_DOTTED)|g' \ + $< > $@ + pkgconfigdir = $(prefix)/lib/pkgconfig pkgconfig_DATA = libupstart.pc EXTRA_DIST = \ - libupstart.pc.in \ + libupstart.pc.in.in \ run_abi_checker.sh.in \ libupstart.ver \ $(abi_official) \ @@ -165,7 +169,7 @@ $(abi_build_XML) \ $(pkgconfig_DATA) -CLEANFILES += $(check_SCRIPTS) +CLEANFILES += $(check_SCRIPTS) libupstart.pc.in tests: $(check_PROGRAMS) === renamed file 'lib/libupstart.pc.in' => 'lib/libupstart.pc.in.in' --- lib/libupstart.pc.in 2013-05-22 11:11:00 +0000 +++ lib/libupstart.pc.in.in 2013-07-04 10:43:06 +0000 @@ -5,6 +5,6 @@ Name: libupstart Description: Upstart Utility Library -Version: @VERSION@ +Version: @LIBUPSTART_VERSION_DOTTED@ Libs: -L${libdir} -lupstart Cflags: -I${includedir}
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
