aboutsummaryrefslogtreecommitdiff
path: root/astro/wcslib/files/patch-GNUmakefile
blob: 4d68d7f7293f649fdadfecd70c388a43ec90bd1d (plain) (blame)
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
--- GNUmakefile.orig	2016-04-05 12:55:12 UTC
+++ GNUmakefile
@@ -81,26 +81,14 @@ install :
 	     $(MAKE) -k -C $$DIR $@ ; \
 	   done
 	   $(INSTALL) -m 444 wcsconfig.h wcsconfig_f77.h $(INCDIR)
-	-  if [ ! -d "$(DOCDIR)" ] ; then \
-	     $(INSTALL) -d -m 2775 $(DOCDIR) ; \
-	   fi
-	   $(INSTALL) -m 444 CHANGES COPYING* README $(DOCDIR)
 	-  if [ -h $(DOCLINK) ] ; then \
 	     $(RM) $(DOCLINK) ; \
 	     $(LN_S) $(notdir $(DOCDIR)) $(DOCLINK) ; \
 	   fi
-	-  if [ ! -d "$(PDFDIR)" ] ; then \
-	     $(INSTALL) -d -m 2775 $(PDFDIR) ; \
-	   fi
-	   $(INSTALL) -m 444 wcslib.pdf $(PDFDIR)
-	-  if [ ! -d "$(HTMLDIR)/html" ] ; then \
-	     $(INSTALL) -d -m 2775 $(HTMLDIR)/html ; \
-	   fi
-	   $(INSTALL) -m 444 html/* $(HTMLDIR)/html
-	   if [ ! -d "$(LIBDIR)/pkgconfig" ] ; then \
-	     $(INSTALL) -d -m 2775 $(LIBDIR)/pkgconfig ; \
+	   if [ ! -d "%%PKGDIR%%/pkgconfig" ] ; then \
+	     $(INSTALL) -d -m 2775 %%PKGDIR%%/pkgconfig ; \
 	   fi
-	   $(INSTALL) -m 444 wcslib.pc $(LIBDIR)/pkgconfig/wcslib.pc
+	   $(INSTALL) -m 444 wcslib.pc %%PKGDIR%%/pkgconfig/wcslib.pc
 
 clean cleaner :
 	   for DIR in $(SUBDIRS) doxygen ; do \