From 7a4e7b7600dbb442bfe2b2f074e19ed699652761 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 3 Oct 2018 16:54:46 +0200 Subject: [PATCH] add tar and copysrc make rules --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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