I'm going to have to revert this... it prevents the .py files from
being regenerated when the .py.in ones change
On 7/17/06, [email protected]
<[email protected]> wrote:
linux-ha CVS committal
Author : davidlee
Host :
Project : linux-ha
Module : cts
Dir : linux-ha/cts
Modified Files:
Makefile.am
Log Message:
cts/Makefile.am rev 1.13 was a fudge. Should use automake's proper python
support
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/cts/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- Makefile.am 22 Jun 2006 22:12:36 -0000 1.13
+++ Makefile.am 17 Jul 2006 11:26:48 -0000 1.14
@@ -21,7 +21,7 @@
harddir = $(libdir)/heartbeat/cts
-hard_SCRIPTS = \
+hard_PYTHON = \
CM_fs.py \
CM_hb.py \
CM_LinuxHAv2.py \
@@ -42,19 +42,3 @@
lsbdir = $(libdir)/heartbeat/cts
lsb_SCRIPTS = LSBDummy
-## Python scripts *.py can generate *.pyc and *.pyo alongside.
-## Should remove these on "uninstall".
-##
-## This code was copied, with adaptation, from the expansion in "Makefile.in"
-## of the corresponding code to uninstall "hard_SCRIPTS".
-uninstall-hook:
- @$(NORMAL_UNINSTALL)
- @list='$(hard_SCRIPTS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- fc="$${f}c"; \
- fo="$${f}o"; \
- echo " rm -f '$(DESTDIR)$(harddir)/$$fc'"; \
- rm -f "$(DESTDIR)$(harddir)/$$fc"; \
- echo " rm -f '$(DESTDIR)$(harddir)/$$fo'"; \
- rm -f "$(DESTDIR)$(harddir)/$$fo"; \
- done
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/