- Subject: [slang-devel] [PATCH] [slexpat] Allow compilation with make's option --shuffle=reverse
- From: Rafael Laboissière <rafael@xxxxxxxxxx>
- Date: Sat, 17 May 2025 22:08:44 +0200
Dear developers,
An issue regarding the building of the Debian package for slexpat
has been recently reported: https://bugs.debian.org/1105707
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/1105707
Forwarded: no
Last-Update: 2025-05-17
--- slexpat-0.5.0.orig/Makefile
+++ slexpat-0.5.0/Makefile
@@ -47,21 +47,23 @@ expat.hlp: expatfuns.tm
tmexpand -Mslhlp expatfuns.tm expat.hlp
clean:
- rm -f expat-module.so *.o
+ rm -f expat-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)
$(MKINSDIR) $(DEST_HLP_FILES_INSTALL_DIR)
-install_modules:
+install_modules: install-directories-stamp
$(INSTALL) expat-module.so $(DEST_MODULE_INSTALL_DIR)
-install_slfiles:
+install_slfiles: install-directories-stamp
$(INSTALL) expat.sl $(DEST_SL_FILES_INSTALL_DIR)
-install_hlpfiles:
+install_hlpfiles: install-directories-stamp
$(INSTALL) expat.hlp $(DEST_HLP_FILES_INSTALL_DIR)
-install: all install_directories install_modules install_slfiles install_hlpfiles
+install: all install_modules install_slfiles install_hlpfiles
[2025 date index]
[2025 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]