[Pkg-wmaker-commits] [wmshutdown] 44/173: debian/debian-vars.mk: update

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmshutdown.

commit 572f510a12c0646a1e9f71df564c36d8d72233b4
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Thu Dec 17 11:50:34 2009 +0200

    debian/debian-vars.mk: update
---
 debian/debian-vars.mk | 93 ++++++++++++---------------------------------------
 1 file changed, 22 insertions(+), 71 deletions(-)

diff --git a/debian/debian-vars.mk b/debian/debian-vars.mk
index 70e76b3..2872948 100644
--- a/debian/debian-vars.mk
+++ b/debian/debian-vars.mk
@@ -6,16 +6,18 @@
 #
 #   License
 #
-#	This program is free software; you can redistribute it and or
-#	modify it under the terms of the GNU General Public License as
-#	published by the Free Software Foundation; either version 2 of
-#	the License, or (at your option) any later version.
+#       This program is free software; you can redistribute it and/or modify
+#       it under the terms of the GNU General Public License as published by
+#       the Free Software Foundation; either version 2 of the License, or
+#       (at your option) any later version.
 #
-#	This program is distributed in the hope that it will be useful, but
-#	WITHOUT ANY WARRANTY; without even the implied warranty of
-#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-#	General Public License for more details at
-#	<http://www.gnu.org/copyleft/gpl.html>.
+#       This program is distributed in the hope that it will be useful,
+#       but WITHOUT ANY WARRANTY; without even the implied warranty of
+#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+#       GNU General Public License for more details.
+#
+#       You should have received a copy of the GNU General Public License
+#       along with this program. If not, see <http://www.gnu.org/licenses/>.
 #
 #   Description
 #
@@ -30,18 +32,22 @@ ifneq (,)
 endif
 
 PACKAGE		?= foo
+PIXPACKAGE	?= $(PACKAGE)
+TOPDIR		:= $(shell pwd)
 PKGDIR		= $(CURDIR)/debian/$(PACKAGE)
 
 SHAREROOTDIR	= $(PKGDIR)/usr/share
 SHAREDIR	= $(SHAREROOTDIR)/$(PACKAGE)
 DOCROOTDIR	= $(SHAREROOTDIR)/doc
-PKGDOCDIR	= $(SHAREROOTDIR)/doc/$(PACKAGE)
-SITELISPDIR	= $(SHAREROOTDIR)/site-lisp
-PKGLISPDIR	= $(SHAREROOTDIR)/site-lisp/$(PACKAGE)
+PKGDOCDIR	= $(DOCROOTDIR)/$(PACKAGE)
+SITELISPDIR	= $(SHAREROOTDIR)/emacs/site-lisp
+PKGLISPDIR	= $(SITELISPDIR)/$(PACKAGE)
 DESKTOPDIR	= $(SHAREROOTDIR)/applications
+XSESSIONDIR	= $(SHAREROOTDIR)/xsessions
 LOCALEDIR	= $(SHAREROOTDIR)/locale
 INFODIR		= $(SHAREROOTDIR)/info
 PIXDIR		= $(SHAREROOTDIR)/pixmaps
+PKGPIXDIR	= $(SHAREROOTDIR)/pixmaps/$(PIXPACKAGE)
 
 MANROOTDIR	= $(SHAREROOTDIR)/man
 MAN1DIR		= $(MANROOTDIR)/man1
@@ -54,73 +60,18 @@ LIBPERLDIR	= $(LIBROOTDIR)/perl
 
 BINDIR		= $(PKGDIR)/usr/bin
 SBINDIR		= $(PKGDIR)/usr/sbin
+GAMEBINDIR	= $(PKGDIR)/usr/games
 
 INSTALL		?= /usr/bin/install
+INSTALL_DIR	= $(INSTALL) -m 755 -d
 INSTALL_DATA	= $(INSTALL) -p -m 644
+
+# The difference is that "BIN" may contain binary strip option
 INSTALL_SCRIPT	= $(INSTALL) -p -m 755
 INSTALL_BIN	= $(INSTALL) -p -m 755
-INSTALL_DIR	= $(INSTALL) -m 755 -d
-
-#######################################################################
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-#
-# [Add this]
-# config.status: configure
-#	...
-#	./configure --host=$(DEB_HOST_GNU_TYPE) \
-#		    --build=$(DEB_BUILD_GNU_TYPE) \
-
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-#######################################################################
-# [Add this to use multiple CPU cores]
-#	build-stamp:
-#		$(MAKE) $(MAKE_FLAGS)
 
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
     INSTALL_BIN += -s
 endif
 
-CFLAGS		= -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-    CFLAGS += -O0
-else
-    CFLAGS += -O2
-endif
-
-MAKE_FLAGS	=
-CPU_COUNT	:= $(shell fgrep -c processor /proc/cpuinfo 2> /dev/null | \
-		     egrep "^[2-9]$$|^[0-9][0-9]$$")
-
-ifneq ($(CPU_COUNT),)
-    MAKE_FLAGS	+= -j$(CPU_COUNT)
-endif
-
-#######################################################################
-# If the override is for a source package, you have to place it at
-# debian/source.lintian-overrides. For binary, Write file
-# debian/<package>.lintian-overrides
-#
-#     <package> binary: <lintian-error> <file>
-#
-#  [Add this to debian/rules]
-#  install:
-#	...
-#	$(MAKE) install
-#	$(lintian-overrides)
-
-OVERRIDEDIR	= usr/share/lintian/overrides
-PKGDIR_LINTIAN	= $(PKGDIR)/$(OVERRIDEDIR)
-
-define lintian-overrides
-	# Install Lintian override file
-	$(INSTALL_DIR) $(PKGDIR_LINTIAN)
-	$(INSTALL_DATA) debian/$(PACKAGE).lintian-overrides \
-		$(PKGDIR_LINTIAN)/$(PACKAGE)
-
-endef
-
 # End of Makefile part

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmshutdown.git



More information about the Pkg-wmaker-commits mailing list