Fresco/Fresco-Python/config Makefile.omniorb.in,1.21,1.22

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Fresco-Python/config
In directory purcel:/tmp/cvs-serv5962/config

Modified Files:
	Makefile.omniorb.in 
Log Message:
let 'make install' use python's distutils


Index: Makefile.omniorb.in
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-Python/config/Makefile.omniorb.in,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Makefile.omniorb.in	10 Dec 2002 05:46:19 -0000	1.21
+++ Makefile.omniorb.in	11 Feb 2003 02:58:37 -0000	1.22
@@ -51,24 +51,10 @@
 PACKAGES	:= $(PACKAGES) $(PACKAGES:%=%__POA)
 PACKAGES	:= $(PACKAGES) Fresco/Input Fresco__POA/Input
 
-PACKAGE_DST	:= $(PACKAGES:%=$(DESTDIR)$(libdir)/python/%/__init__.py)
-
 TARGET		:= $(SRC)
 
 all:	$(TARGET)
 
-install_files:	all
-	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/python
-	$(SHTOOL) install -C -m 755 $(TARGET) $(DESTDIR)$(libdir)/python
-
-$(DESTDIR)$(libdir)/python/%/__init__.py: %/__init__.py
-	$(SHTOOL) mkdir -f -p -m 755 $(@D)
-	$(SHTOOL) install -C -m 755 $< $(@D)
-
-install_packages: all $(PACKAGE_DST)
-
-install:	install_files install_packages
-
 clean:	
 	rm -rf $(SRC) $(CMP) Input Figure Fresco Layout *__POA *~
 
@@ -80,4 +66,7 @@
 $(SRC): %_idl.py:		$(idir)/Fresco/%.idl
 	@echo generating $(@F)
 	$(IDLPY) $(IDLPYFLAGS) $<
+	mv -f $(@F) $(@F).old
+	cat $(@F).old | sed -e "s,@Fresco_IDL_prefix@,$(prefix)," > $(@F)
+	rm -f $(@F).old
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.