slang-devel mailing list

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

[slang-devel] [PATCH] [slwildcard] 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/1105630

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

--- slwildcard-0.5.0.orig/Makefile
+++ slwildcard-0.5.0/Makefile
@@ -47,18 +47,20 @@ wildcard.o: wildcard.c
 	gcc $(CFLAGS) $(INCS) -O2 -c -g wildcard.c -o wildcard.o
 
 clean:
-	rm -f wildcard-module.so *.o
+	rm -f wildcard-module.so *.o install-directories-stamp
 
 #---------------------------------------------------------------------------
 # Installation Rules
 #---------------------------------------------------------------------------
+install-directories-stamp: install_directories
+	touch install-directories-stamp
 install_directories:
 	$(MKINSDIR) $(DEST_MODULE_INSTALL_DIR)
 	$(MKINSDIR) $(DEST_SL_FILES_INSTALL_DIR)
 
-install_modules:
+install_modules: install-directories-stamp
 	$(INSTALL) wildcard-module.so $(DEST_MODULE_INSTALL_DIR)
-install_slfiles:
+install_slfiles: install-directories-stamp
 	$(INSTALL) wildcard.sl $(DEST_SL_FILES_INSTALL_DIR)
 
-install: all install_directories install_modules install_slfiles
+install: all install_modules install_slfiles

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