summaryrefslogtreecommitdiff
blob: bae43f84a2812b7c6139d2cde540a6c63d7690e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -urN compface-1.5.1.orig/Makefile.in compface-1.5.1/Makefile.in
--- compface-1.5.1.orig/Makefile.in	2005-01-26 17:00:32.140000192 +0900
+++ compface-1.5.1/Makefile.in	2005-01-26 17:00:17.788182000 +0900
@@ -71,18 +71,16 @@
 		$(RM) -rf `cat .fname` .fname
 
 install: 	$(NAME) $(UNNAME) $(LIBNAME)
-		$(INSTALL_PROGRAM) $(srcdir)/$(NAME) $(EXECUTABLE) 
-		-chmod 0755 $(EXECUTABLE)
-		-strip $(EXECUTABLE)
-		$(INSTALL_PROGRAM) $(srcdir)/$(UNNAME) $(UNEXECUTABLE)
-		-chmod 0755 $(UNEXECUTABLE)
-		-strip $(UNEXECUTABLE)
-		$(INSTALL_DATA) $(srcdir)/$(NAME).1 $(MAN1DIR)/$(NAME).1
-		cd $(MAN1DIR) && $(RM) ./$(UNNAME).1 && $(LN_S) $(NAME).1 $(UNNAME).1
-		$(INSTALL_DATA) $(srcdir)/$(NAME).3 $(MAN3DIR)/$(NAME).3
-		cd $(MAN3DIR) && $(RM) ./$(UNNAME).3 && $(LN_S) $(NAME).3 $(UNNAME).3
-		for hdr in $(INSTALLHEADERS); do $(INSTALL_DATA) $(srcdir)/$${hdr} $(INCLUDEDIR)/$${hdr}; done
-		$(INSTALL_DATA) $(srcdir)/$(LIBNAME) $(LIBRARY)
+		$(INSTALL_PROGRAM) $(srcdir)/$(NAME) $(DESTDIR)/$(EXECUTABLE) 
+		-chmod 0755 $(DESTDIR)/$(EXECUTABLE)
+		$(INSTALL_PROGRAM) $(srcdir)/$(UNNAME) $(DESTDIR)/$(UNEXECUTABLE)
+		-chmod 0755 $(DESTDIR)/$(UNEXECUTABLE)
+		$(INSTALL_DATA) $(srcdir)/$(NAME).1 $(DESTDIR)/$(MAN1DIR)/$(NAME).1
+		$(LN_S) $(NAME).1 $(DESTDIR)/$(MAN1DIR)/$(UNNAME).1
+		$(INSTALL_DATA) $(srcdir)/$(NAME).3 $(DESTDIR)/$(MAN3DIR)/$(NAME).3
+		$(LN_S) $(NAME).3 $(DESTDIR)/$(MAN3DIR)/$(UNNAME).3
+		for hdr in $(INSTALLHEADERS); do $(INSTALL_DATA) $(srcdir)/$${hdr} $(DESTDIR)/$(INCLUDEDIR)/$${hdr}; done
+		$(INSTALL_DATA) $(srcdir)/$(LIBNAME) $(DESTDIR)/$(LIBRARY)
 
 shar :
 		shar.script $(OTHERS) $(HDRS) $(SOURCES) > $(NAME).sh