1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-24 11:15:51 +01:00

Fix Debian builds

This commit is contained in:
Tamas TEVESZ
2010-04-09 02:34:35 +02:00
committed by Carlos R. Mafra
parent 65aa3ae9c8
commit abda319c16

47
debian/rules vendored
View File

@@ -24,8 +24,6 @@ endif
LINGUAS := $(patsubst po/%.po, %, $(wildcard po/*.po)) LINGUAS := $(patsubst po/%.po, %, $(wildcard po/*.po))
#LINGUAS := $(filter-out zh_TW.Big5, $(LINGUAS)) #LINGUAS := $(filter-out zh_TW.Big5, $(LINGUAS))
# Options, options and more options!!!
XLOCALE := --disable-locale XLOCALE := --disable-locale
MODELOCK := --enable-modelock MODELOCK := --enable-modelock
@@ -87,8 +85,6 @@ LIBWRASTER_TMP := $(DEBTMPDIR)/../$(LIBWRASTER)
LIBWINGS := libwings-dev LIBWINGS := libwings-dev
LIBWINGS_TMP := $(DEBTMPDIR)/../$(LIBWINGS) LIBWINGS_TMP := $(DEBTMPDIR)/../$(LIBWINGS)
LTMAIN := $(shell: find /usr/share/libtool/ -name ltmain.sh | head -1)
RM := rm -f RM := rm -f
RMDIR := rmdir --ignore-fail-on-non-empty RMDIR := rmdir --ignore-fail-on-non-empty
@@ -102,11 +98,6 @@ COMMON_OPTIONS := --prefix=$(BASEDIR) \
--with-gnustepdir=$(GNUSTEPDIR) \ --with-gnustepdir=$(GNUSTEPDIR) \
--with-xft --with-xft
AUTOMAKE_FILES := $(shell find -name Makefile.am)
IN_MAKEFILES := $(patsubst %.am,%.in,$(AUTOMAKE_FILES))
IN_FILES := $(filter-out $(IN_MAKEFILES),$(shell find -name \*.in))
GEN_FILES := $(patsubst %.in,%,$(IN_FILES))
LIST_PATCHES := find debian/patches -mindepth 1 -maxdepth 1 -name \*.diff -type f | sort LIST_PATCHES := find debian/patches -mindepth 1 -maxdepth 1 -name \*.diff -type f | sort
RLIST_PATCHES := find debian/patches -mindepth 1 -maxdepth 1 -name \*.diff -type f | sort -r RLIST_PATCHES := find debian/patches -mindepth 1 -maxdepth 1 -name \*.diff -type f | sort -r
@@ -178,26 +169,12 @@ unpatch-wmaker:
clean: clean:
dh_testdir dh_testdir
dh_testroot dh_testroot
-$(MAKE) distclean $(RM) -r $(WMAKER_BD)
debian/rules unpatch-wmaker
$(RM) \
config.log
$(RM) *-stamp \ $(RM) *-stamp \
debian/*.files \ debian/*.files \
libtool \ debian/shlibs.local \
src/config.h.in \ debian/conffiles
debian/shlibs.local debian/rules unpatch-wmaker
# debian/conffiles
$(RM) -r $(WMAKER_BD)
ifeq (skip,)
$(RM) \
configure \
config.guess \
config.sub \
aclocal.m4 \
ltmain.sh
$(RM) $(IN_MAKEFILES) $(GEN_FILES)
endif
dh_clean dh_clean
binary-indep: build binary-indep: build
@@ -382,19 +359,7 @@ debian/libwings-dev.files: build
debian/shlibs.local: debian/shlibs.local:
echo 'libwraster $(patsubst libwraster%,%, $(LIBWRASTER)) $(LIBWRASTER) $(libwraster_deps)' > $@ echo 'libwraster $(patsubst libwraster%,%, $(LIBWRASTER)) $(LIBWRASTER) $(libwraster_deps)' > $@
aclocal.m4: acinclude.m4 configure.ac configure: configure.ac
aclocal $(TOPSRCDIR)/autogen.sh
src/config.h.in: configure.ac
autoheader
ltmain.sh: aclocal.m4 $(LTMAIN)
libtoolize --force --copy --automake
$(IN_MAKEFILES): %.in: ltmain.sh %.am src/config.h.in
automake --add-missing --gnu --include-deps
configure: $(IN_MAKEFILES) configure.ac
autoconf
.PHONY: binary binary-arch binary-indep binary-custom clean build unpatch-wmaker .PHONY: binary binary-arch binary-indep binary-custom clean build unpatch-wmaker