mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 11:13:24 +00:00
Better clean.
Removing both $(HEADERS_NEEDING_MOC:.h=.moc) and qt-ui/*.moc was a duplication, as all files refered in $(HEADERS_NEEDING_MOC) are located in directory qt-ui/. Generated header files qt-ui/ui_*.h were not removed. Avoid forking `rm' multiple times and regroup file list in a more intuitive order. Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9cbd0febbc
commit
159d0883bb
1 changed files with 5 additions and 3 deletions
8
Rules.mk
8
Rules.mk
|
@ -249,9 +249,11 @@ doc:
|
||||||
$(MAKE) -C Documentation doc
|
$(MAKE) -C Documentation doc
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(ALL_OBJS) *~ $(NAME) $(NAME).exe po/*~ po/$(NAME)-new.pot \
|
rm -f $(ALL_OBJS) *~ $(NAME) $(VERSION_FILE) \
|
||||||
$(VERSION_FILE) $(HEADERS_NEEDING_MOC:.h=.moc) *.moc qt-ui/*.moc .uic/*.h
|
$(NAME).exe po/*~ po/$(NAME)-new.pot \
|
||||||
rm -f $(RESOURCES:.qrc=.qrc.cpp)
|
*.moc qt-ui/*.moc \
|
||||||
|
$(UIC_HEADERS:%=qt-ui/%) .uic/*.h \
|
||||||
|
$(RESOURCES:.qrc=.qrc.cpp)
|
||||||
rm -rf share
|
rm -rf share
|
||||||
|
|
||||||
confclean: clean
|
confclean: clean
|
||||||
|
|
Loading…
Add table
Reference in a new issue