Update debian/ for single binary

This commit is contained in:
Michael Stapelberg 2009-10-24 13:40:13 +02:00
parent f45906a08b
commit 9e81fa5654

10
debian/rules vendored
View File

@ -13,13 +13,7 @@ build: build-stamp
build-stamp:
dh_testdir
# Build with xmobar support
$(MAKE) distclean
$(MAKE) EXTRA_CFLAGS="-DXMOBAR"
cp $(CURDIR)/i3status $(CURDIR)/i3status-xmobar
# Build with dzen support
$(MAKE) distclean
$(MAKE) EXTRA_CFLAGS="-DDZEN"
$(MAKE)
touch $@
clean:
@ -35,8 +29,6 @@ install: build
dh_clean -k
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/i3status/ install
install -m 755 $(CURDIR)/i3status-xmobar $(CURDIR)/debian/i3status/usr/bin/i3status-xmobar
ln -s i3status.1.gz $(CURDIR)/debian/i3status/usr/share/man/man1/i3status-xmobar.1.gz
# Build architecture-independent files here.
binary-indep: build install