Skip to content

Commit

Permalink
Sync up the make distclean target with what's in .gitignore (#1582)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgay authored Apr 29, 2024
2 parents 1e1ac72 + bd94c42 commit c1d5a7e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*~
# If you add something here, you may also want to update the `clean` or
# `distclean` target in Makefile.in to remove the ignored files.

*.pyc
*~
/Makefile
/aclocal.m4
/Bootstrap.*/
Expand Down
25 changes: 16 additions & 9 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ clean:
rm -rf $(srcdir)/sources/corba/services/naming/naming-protocol
rm -rf $(srcdir)/sources/corba/services/naming/naming-skeletons
rm -rf $(srcdir)/sources/corba/services/naming/naming-stubs
rm -rf $(srcdir)/sources/corba/demos/bank/bank/protocol
rm -rf $(srcdir)/sources/corba/demos/bank/bank/skeletons
rm -rf $(srcdir)/sources/corba/demos/bank/bank/stubs
rm -rf $(srcdir)/sources/corba/demos/pente/protocol/
rm -rf $(srcdir)/sources/corba/demos/pente/skeletons/
rm -rf $(srcdir)/sources/corba/demos/pente/stubs/
Expand All @@ -313,16 +316,20 @@ clean:
rm -rf $(srcdir)/sources/runtime-manager/debugger-nub/stubs

distclean: clean
-rm -f aclocal.m4
-rm -f configure
-rm -f config.log
-rm -f config.status
-rm -f config.status.lineno
-rm -f Makefile
-rm -f sources/lib/run-time/Makefile
-rm -f sources/jamfiles/Makefile sources/jamfiles/config.jam
-rm -rf build-aux
-find $(srcdir) -name '*~' -exec rm {} \;
-find $(srcdir) -name '*.pyc' -exec rm {} \;
-rm -f Makefile
-rm -f aclocal.m4
-rm -rf autom4te.cache
-rm -rf build-aux
-rm -f config.log
-rm -f config.status
-rm -f config.status.lineno
-rm -rf config/build-aux
-rm -f configure
-rm -rf documentation/*/build
-rm -f sources/jamfiles/Makefile sources/jamfiles/config.jam
-rm -f sources/lib/run-time/Makefile

mostlyclean:

Expand Down

0 comments on commit c1d5a7e

Please sign in to comment.