- Subject: [slang-devel] Allow compilation with make's option --shuffle=reverse
- From: Rafael Laboissière <rafael@xxxxxxxxxx>
- Date: Sat, 17 May 2025 21:50:47 +0200
Dear developers,
An issue regarding the building of the Debian package for slcfitsio
has been recently reported: https://bugs.debian.org/1105710
In sum, the package fails to build with make --shuffle=reverse.
The patch attached to this message fixes the problem.
Best,
Rafael
Description: Allow building with make's option --shuffle=reverse
Author: Rafael Laboissière <rafael@xxxxxxxxxx>
Bug-Debian: https://bugs.debian.org/1105710
Forwarded: no
Last-Update: 2025-05-17
--- slcfitsio-0.4.7~pre.19.orig/src/Makefile.in
+++ slcfitsio-0.4.7~pre.19/src/Makefile.in
@@ -91,12 +91,14 @@ test:
#---------------------------------------------------------------------------
# Installation Rules
#---------------------------------------------------------------------------
+install-directories-stamp: install_directories
+ touch install-directories-stamp
install_directories:
$(MKINSDIR) $(DEST_MODULE_INSTALL_DIR)
$(MKINSDIR) $(DEST_SL_FILES_INSTALL_DIR)
$(MKINSDIR) $(DEST_HLP_FILES_INSTALL_DIR)
-install_modules:
+install_modules: install-directories-stamp
@for X in $(MODULES); \
do \
Y=$$X.$(MODULE_VERSION); \
@@ -110,7 +112,7 @@ install_modules:
$(LN) $$Y $(DEST_MODULE_INSTALL_DIR)/$$X; \
done
-install_slfiles:
+install_slfiles: install-directories-stamp
@for X in $(SL_FILES); \
do \
echo $(INSTALL_DATA) $$X $(DEST_SL_FILES_INSTALL_DIR); \
@@ -120,7 +122,7 @@ install_slfiles:
fi; \
done
-install_hlpfiles:
+install_hlpfiles: install-directories-stamp
@for X in $(HLP_FILES); \
do \
echo $(INSTALL_DATA) $$X $(DEST_HLP_FILES_INSTALL_DIR); \
@@ -130,10 +132,11 @@ install_hlpfiles:
fi; \
done
-install: all install_directories install_modules install_slfiles install_hlpfiles
+install: all install_modules install_slfiles install_hlpfiles
clean:
-/bin/rm -f $(MODULES) *~ \#*
-/bin/rm -f cfitsio-version cfitsio-version.h
+ -/bin/rm -f install-directories-stamp
distclean: clean
-/bin/rm -f config.h cfitsio.h Makefile $(MODULES) *.fit
[2025 date index]
[2025 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]