[Lsb-messages] /var/www/bzr/lsb/devel/misc-test r2393: only install the dummy_link binaries, not source/object

Mats Wichmann mats at linuxfoundation.org
Thu Sep 5 10:59:38 UTC 2013


------------------------------------------------------------
revno: 2393
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: misc-test
timestamp: Thu 2013-09-05 04:59:38 -0600
message:
  only install the dummy_link binaries, not source/object
modified:
  libchk/makefile
  package/Makefile
-------------- next part --------------
=== modified file 'libchk/makefile'
--- a/libchk/makefile	2013-09-04 19:59:52 +0000
+++ b/libchk/makefile	2013-09-05 10:59:38 +0000
@@ -35,11 +35,13 @@
 # add /opt/lsb/lib or /opt/lsb/lib64
 #LSBLIBPATHS=-L/opt/lsb/lib$(LIB64)
 
-LSBVERSIONS=31 32 40 41 50
 # If you want to just link against the normal system libs instead of the
 # lsb-dev libs (like for testing against newer libstdcxx) use this instead
 #LSBLIBPATHS=-L/usr/X11R6/lib
-dummy_link: $(foreach ver,$(LSBVERSIONS),dummy_link_$(ver))
+
+LSBVERSIONS=31 32 40 41 50
+DUMMY_LINKS := $(foreach ver,$(LSBVERSIONS),dummy_link_$(ver))
+dummy_link: $(DUMMY_LINKS)
 
 # Construction with 'shell' and 'sed' just insert a dot to version name, i.e. transforms '41' to '4.1'
 dummy_link_%: makefile
@@ -50,6 +52,7 @@
 install:
 	install -d $(DESTDIR)$(INSTALL_ROOT)/$(BINDIR)
 	install libchk lsblibchk dummy_link* $(DESTDIR)$(INSTALL_ROOT)/$(BINDIR)/
+	install $(DUMMY_LINKS) $(DESTDIR)$(INSTALL_ROOT)/$(BINDIR)/
 	install -d $(DESTDIR)$(INSTALL_ROOT)/$(MANDIR)/man1/
 	install lsblibchk.1 $(DESTDIR)$(INSTALL_ROOT)/$(MANDIR)/man1/lsblibchk.1
 

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-09-04 20:07:11 +0000
+++ b/package/Makefile	2013-09-05 10:59:38 +0000
@@ -24,7 +24,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=1
+RPM_PACKAGE_RELEASE=2
 
 # Derive date string for daily snapshots
 ISO_DATE:=$(shell date +"%Y%m%d")



More information about the lsb-messages mailing list