From c6a98185397afbf7d31e22c6122f0f4b277517f2 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 22 Feb 2018 17:13:40 +0100 Subject: [PATCH] Copy src and tar rule --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index aaae60fc7..ea402a75d 100644 --- a/Makefile +++ b/Makefile @@ -24,3 +24,10 @@ config_DEPEND_DIRS = src include $(TOP)/configure/RULES_TOP + +UNINSTALL_DIRS += $(INSTALL_LOCATION)/src +copysrc: + tar cf - --exclude=CVS --exclude=O.* src | tar xf - -C $(INSTALL_LOCATION) + +tar: install copysrc + tar cfjP epics_base-3.14.12.tar.bz2 $(INSTALL_LOCATION) --exclude=*.o