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:
parent
e3b671e168
commit
4dc34880da
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue