aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-02-13 06:26:41 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-02-13 07:55:08 +0100
commit8703c35449c3a412c0781f41ddcabdc2dd6eaba9 (patch)
tree5f907c422f3fffa46254cf40585e0fe13928077c
parent568eaa63cf3b7a8a7fa2caf126f103f1c63493dd (diff)
configure: Also install thumbnail
-rwxr-xr-xconfigure21
1 files changed, 14 insertions, 7 deletions
diff --git a/configure b/configure
index cb55099..4f42953 100755
--- a/configure
+++ b/configure
@@ -158,13 +158,6 @@ USERGEN_OBJECTS = \
all: $(PROJECT) usergen
-install: all
- mkdir -p $(DST)
- cp slcl usergen $(DST)
- chmod 0755 $(DST)/slcl
- chmod 0755 $(DST)/usergen
- +cd doc && $(MAKE) PREFIX=$(PREFIX) install
-
FORCE:
$(PROJECT): $(OBJECTS)
@@ -172,7 +165,21 @@ $(PROJECT): $(OBJECTS)
usergen: $(USERGEN_OBJECTS)
$(CC) $(USERGEN_OBJECTS) $(USERGEN_LDFLAGS) -o $@
+
+install: all
+ mkdir -p $(DST)
+ cp slcl usergen $(DST)
+ chmod 0755 $(DST)/slcl
+ chmod 0755 $(DST)/usergen
+ +cd doc && $(MAKE) PREFIX=$(PREFIX) install
+EOF
+
+if [ $build_thumbnail -ne 0 ]
+then
+cat <<"EOF" >> $F
+ +cd thumbnail && $(MAKE) PREFIX=$(PREFIX) install
EOF
+fi
if [ $in_tree_dynstr -ne 0 ]
then