Skip to content

Commit

Permalink
Added uninstall of config dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Janet B. Anderson committed Jul 1, 1996
1 parent 9f6c8d2 commit 9574829
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,12 @@ uninstall.%:
@rm -rf $(INSTALL_LOCATION_BIN)/$* $(INSTALL_LOCATION_LIB)/$* \
$(INSTALL_LOCATION)/dbd $(INSTALL_MAN) $(INSTALL_INCLUDE)
@rm -rf rec.bak rec
@DIR1=`pwd`;cd $(INSTALL_LOCATION);DIR2=`pwd`;cd $$DIR1;\
if [ "$$DIR1" != "$$DIR2" ]; then rm -fr $(INSTALL_LOCATION)/config; fi

clean.%:
@echo "TOP: Cleaning $* "
@find src -type d -name "O.$*" -prune -exec rm -rf {} \;
@find config -type d -name "O.$*" -prune -exec rm -rf {} \;



0 comments on commit 9574829

Please sign in to comment.