diff --git a/copysrc-and-tar.patch b/copysrc-and-tar.patch new file mode 100644 index 000000000..497c03cd8 --- /dev/null +++ b/copysrc-and-tar.patch @@ -0,0 +1,21 @@ +Index: Makefile +=================================================================== +RCS file: /cvs/G/EPICS/base-3.14.12/Makefile,v +retrieving revision 1.1 +retrieving revision 1.4 +diff -c -r1.1 -r1.4 +*** Makefile 29 Nov 2010 10:38:06 -0000 1.1 +--- Makefile 13 Dec 2011 15:49:37 -0000 1.4 +*************** +*** 27,29 **** +--- 27,36 ---- + + 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