packaging: don't override clean_local

There are multiple targets which need to be executed for clean, therefore we need a dependency for it to remove the dist dir.
This commit is contained in:
Patrick Ohly 2009-07-14 14:54:57 +02:00
parent e3b671e168
commit 4dc34880da
1 changed files with 3 additions and 2 deletions

View File

@ -112,13 +112,14 @@ deb rpm : dist/$(distdir) doc-pak description-pak
--pkggroup='gnome' \
--docdir=":$$docdir" cp -r `pwd`/$</usr/* /usr
.PHONY: dist/$(distdir)
.PHONY: dist/$(distdir) clean_dist
dist/$(distdir): all
rm -rf $@
$(MAKE) install DESTDIR=`pwd`/$@
rm -rf $@/usr/etc $@/usr/include
find $@ -name *.la -o -name *.so -delete
clean-local:
clean-local: clean_dist
clean_dist:
rm -rf dist