Skip to content

Commit

Permalink
Improve repository cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chris2511 committed Feb 21, 2015
1 parent 3559753 commit 39f1e0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,17 @@ $(APPTARGET): app.%: %/.build-stamp
VPATH=$(TOPDIR)/$* APPDIR=$(APPDIR) app

clean:
find lib widgets img -name "*.o" | xargs rm -f
find lib widgets img -name ".build-stamp" | xargs rm -f
find lib widgets -name "moc_*.cpp" | xargs rm -f
find lib widgets img misc -name "*.o" \
-o -name ".build-stamp" \
-o -name ".depend" \
-o -name "moc_*.cpp" | xargs rm -f
rm -f ui/ui_*.h lang/xca_*.qm doc/*.html doc/xca.1.gz img/imgres.cpp
rm -f lang/*.xml
rm -f *~ xca$(SUFFIX) setup_xca*.exe xca_db_stat$(SUFFIX)
rm -rf xca-*
rm -f xca$(SUFFIX) setup_xca*.exe xca_db_stat$(SUFFIX) *.dmg
rm -rf xca-$(VERSION)*

distclean: clean
rm -f conftest conftest.log local.h Local.mak *~ */.depend config.log config.status
rm -f local.h Local.mak config.log config.status

dist: $(TARGET).tar.gz
$(TARGET).tar:
Expand Down
4 changes: 3 additions & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ fi
O="${O}configure"

aclocal -Im4
exec autoconf -o $O
autoconf -o $O
rm -f aclocal.m4
rm -rf autom4te.cache/

0 comments on commit 39f1e0d

Please sign in to comment.