[med-svn] r9889 - trunk/packages/freediams/trunk/debian

Eric Maeker ericmaeker-guest at alioth.debian.org
Mon Mar 5 19:24:21 UTC 2012


Author: ericmaeker-guest
Date: 2012-03-05 19:24:21 +0000 (Mon, 05 Mar 2012)
New Revision: 9889

Modified:
   trunk/packages/freediams/trunk/debian/rules
Log:
build libs but don't install them; idem for resources

Modified: trunk/packages/freediams/trunk/debian/rules
===================================================================
--- trunk/packages/freediams/trunk/debian/rules	2012-03-05 18:59:30 UTC (rev 9888)
+++ trunk/packages/freediams/trunk/debian/rules	2012-03-05 19:24:21 UTC (rev 9889)
@@ -2,13 +2,12 @@
 # (c) 2012, Eric Maeker, MD (fr), The FreeMedForms project, BSD revised license
 # The @ in front of a command prevents make from displaying
 
-# var: keep the project order (should begin with freemedforms) 
-#FREEMEDFORMS_PROJECTS := freemedforms freediams freeicd freeaccount
+# var
 PROJECT := freediams
 QMAKE := qmake-qt4
 QMAKE_CONFIG := "CONFIG+=release" "CONFIG+=LINUX_INTEGRATED" -r
-QMAKE_BUILDLIBS := "CONFIG+=dontbuildlibs"
-QMAKE_IPATH := "INSTALL_ROOT_PATH=$(CURDIR)/debian/tmp/usr/"
+QMAKE_BUILDLIBS := "CONFIG+=dontinstalllibs" "CONFIG+=dontinstallresources"
+QMAKE_IPATH := $(QMAKE_BUILDLIBS) "INSTALL_ROOT_PATH=$(CURDIR)/debian/tmp/usr/"
 # func
 QMAKE_PROJ = cd $(PROJECT) && $(QMAKE) $(QMAKE_CONFIG) $(QMAKE_BUILDLIBS) $(QMAKE_IPATH) LOWERED_APPNAME="$(PROJECT)" $(PROJECT).pro && cd ..
 MAKE_PROJ = make -C $(PROJECT) -f Makefile
@@ -17,14 +16,8 @@
 %:
 	dh $@
 
-# create translations
-# process every project files without any Makefile conflict
-# process project files in reverse order 
-#    so that the freemedforms project is the last configured one (for the libs)
 override_dh_auto_configure:
-#	lrelease global_resources/translations/*.ts
 	$(call QMAKE_PROJ,$(PROJECT))
-#	$(foreach PROJECT,$(call reverse,$(FREEMEDFORMS_PROJECTS)),$(QMAKE_PROJ) && ) echo .
 	
 # Clean build path
 override_dh_auto_clean:
@@ -33,15 +26,13 @@
 	rm -f global_resources/translations/[a-ps-z]*.qm
 	dh_auto_clean
 
-# Make all projects
+# Make project
 override_dh_auto_build:
 	$(call MAKE_PROJ,$(PROJECT))
-#	$(foreach PROJECT,$(FREEMEDFORMS_PROJECTS),$(MAKE_PROJ) && ) echo .
 
-# Install all projects
+# Install project
 override_dh_auto_install:
 	$(call MAKEINSTALL_PROJ,$(PROJECT))
-#	$(foreach PROJECT,$(FREEMEDFORMS_PROJECTS),$(MAKEINSTALL_PROJ) && ) echo .
 
 override_dh_install:	
 	dh_install




More information about the debian-med-commit mailing list