diff --git a/Makefile b/Makefile index 6efaeb7f2..d70b7fcdb 100644 --- a/Makefile +++ b/Makefile @@ -23,3 +23,10 @@ DIRS += modules modules_DEPEND_DIRS = src include $(TOP)/configure/RULES_TOP + +UNINSTALL_DIRS += $(INSTALL_LOCATION)/src +copysrc: + tar cf - --exclude-vcs --exclude-backups --exclude=O.* modules/*/src | tar xf - -C $(INSTALL_LOCATION) + +tar: + tar cfjP epics_base-$(EPICS_VERSION_NUMBER).tar.bz2 $(INSTALL_LOCATION) --exclude=*.o