mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 14:55:27 +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
|
||||
|
||||
clean:
|
||||
rm -f $(ALL_OBJS) *~ $(NAME) $(NAME).exe po/*~ po/$(NAME)-new.pot \
|
||||
$(VERSION_FILE) $(HEADERS_NEEDING_MOC:.h=.moc) *.moc qt-ui/*.moc .uic/*.h
|
||||
rm -f $(RESOURCES:.qrc=.qrc.cpp)
|
||||
rm -f $(ALL_OBJS) *~ $(NAME) $(VERSION_FILE) \
|
||||
$(NAME).exe po/*~ po/$(NAME)-new.pot \
|
||||
*.moc qt-ui/*.moc \
|
||||
$(UIC_HEADERS:%=qt-ui/%) .uic/*.h \
|
||||
$(RESOURCES:.qrc=.qrc.cpp)
|
||||
rm -rf share
|
||||
|
||||
confclean: clean
|
||||
|
|
Loading…
Add table
Reference in a new issue