mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-02 20:04:15 +01:00
Fix Debian builds
This commit is contained in:
committed by
Carlos R. Mafra
parent
65aa3ae9c8
commit
abda319c16
51
debian/rules
vendored
51
debian/rules
vendored
@@ -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,10 +85,8 @@ 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
|
||||||
|
|
||||||
COMMON_OPTIONS := --prefix=$(BASEDIR) \
|
COMMON_OPTIONS := --prefix=$(BASEDIR) \
|
||||||
--mandir=$(MANDIR) \
|
--mandir=$(MANDIR) \
|
||||||
@@ -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
|
|
||||||
debian/rules unpatch-wmaker
|
|
||||||
$(RM) \
|
|
||||||
config.log
|
|
||||||
$(RM) *-stamp \
|
|
||||||
debian/*.files \
|
|
||||||
libtool \
|
|
||||||
src/config.h.in \
|
|
||||||
debian/shlibs.local
|
|
||||||
# debian/conffiles
|
|
||||||
$(RM) -r $(WMAKER_BD)
|
$(RM) -r $(WMAKER_BD)
|
||||||
ifeq (skip,)
|
$(RM) *-stamp \
|
||||||
$(RM) \
|
debian/*.files \
|
||||||
configure \
|
debian/shlibs.local \
|
||||||
config.guess \
|
debian/conffiles
|
||||||
config.sub \
|
debian/rules unpatch-wmaker
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user