summaryrefslogtreecommitdiff
path: root/sci-astronomy/montage/files/montage-6.1-montagelib-dep.patch
blob: 3bb2598465e2d4b07e94d1aa8db5c9eb3032c47f (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
From: Ole Streicher <olebole@debian.org>
Date: Fri, 20 Dec 2024 08:17:51 +0100
Subject: Add dependency for Montagelib::lib target

---
 MontageLib/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MontageLib/Makefile b/MontageLib/Makefile
index f37df2d..9d41a23 100644
--- a/MontageLib/Makefile
+++ b/MontageLib/Makefile
@@ -49,7 +49,7 @@ pgm:
 		(cd FitExec       &&                   $(MAKE) && $(MAKE) install)
 		(cd ProjExec      &&                   $(MAKE) && $(MAKE) install)
 
-lib:
+lib: pgm
 		rm -f libmontage.a libmontage.so libmontagepy.so
 		ar q  libmontage.a \
 			util/checkFile.o util/checkHdr.o util/checkWCS.o \
@@ -136,7 +136,7 @@ lib:
 			DiffFitExec/montageDiffFitExec.o \
 			ProjExec/montageProjExec.o 
 
-pythonlibs:
+pythonlibs: pgm
 		rm -f ../python/MontagePy/lib/*.o
 		mkdir -p ../python/MontagePy/lib
 		cp util/checkFile.o util/checkHdr.o util/checkWCS.o \