slang-devel mailing list

[2025 Date Index] [2025 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-devel] [PATCH] [slsqlite] Allow compilation with make's option --shuffle=reverse


Dear developers,

An issue regarding the building of the Debian package for slsqlite has been recently reported: https://bugs.debian.org/1105652

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/1105652
Forwarded: no
Last-Update: 2025-05-17

--- slsqlite-0.6.4.orig/src/Makefile.in
+++ slsqlite-0.6.4/src/Makefile.in
@@ -83,12 +83,14 @@ check:
 #---------------------------------------------------------------------------
 # 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); \
@@ -102,7 +104,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); \
@@ -112,7 +114,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); \
@@ -122,9 +124,10 @@ 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 install-directories-stamp
 distclean: clean
 	-/bin/rm -f config.h Makefile

[2025 date index] [2025 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]