makefile: add i3-nagbar to {dist,}clean target, include i3-nagbar in dist

next
Michael Stapelberg 2011-07-15 19:08:21 +02:00
parent feaa161d2c
commit 2de5cb06c8
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,7 @@ dist: distclean
[ ! -e i3-${VERSION}.tar.bz2 ] || rm i3-${VERSION}.tar.bz2
mkdir i3-${VERSION}
cp DEPENDS GOALS LICENSE PACKAGE-MAINTAINER TODO RELEASE-NOTES-${VERSION} i3.config i3.desktop i3.welcome pseudo-doc.doxygen Makefile i3-${VERSION}
cp -r src i3-msg yajl-fallback include man i3-${VERSION}
cp -r src i3-msg i3-nagbar yajl-fallback include man i3-${VERSION}
# Only copy toplevel documentation (important stuff)
mkdir i3-${VERSION}/docs
find docs -maxdepth 1 -type f ! -name "*.xcf" -exec cp '{}' i3-${VERSION}/docs \;
@ -105,11 +105,13 @@ clean:
$(MAKE) -C man clean
$(MAKE) TOPDIR=$(TOPDIR) -C i3-msg clean
$(MAKE) TOPDIR=$(TOPDIR) -C i3-input clean
$(MAKE) TOPDIR=$(TOPDIR) -C i3-nagbar clean
distclean: clean
rm -f i3
$(MAKE) TOPDIR=$(TOPDIR) -C i3-msg distclean
$(MAKE) TOPDIR=$(TOPDIR) -C i3-input distclean
$(MAKE) TOPDIR=$(TOPDIR) -C i3-nagbar distclean
coverage:
rm -f /tmp/i3-coverage.info