View Issue Details

IDProjectCategoryView StatusLast Update
0037364LazarusOtherpublic2020-07-16 00:20
ReporterAlfred Assigned ToMattias Gaertner  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1 (SVN) 
Summary0037364: Running make install on Windows errors out on files not found
DescriptionThe source extension is missing when using the install feature of the Makefile on Windows.
Included patch solves.
TagsNo tags attached.
Fixed in Revision63568.
LazTarget-
Widgetset
Attached Files

Activities

Alfred

2020-07-15 17:38

reporter  

lazmakefile.patch (2,055 bytes)   
Index: Makefile
===================================================================
--- Makefile	(revision 63566)
+++ Makefile	(working copy)
@@ -3666,15 +3670,15 @@
 	$(COPYTREE) components docs doceditor examples lcl test tools $(LAZARUS_INSTALL_DIR)
 	$(COPYTREE) Makefile* *.txt $(LAZARUS_INSTALL_DIR)
 ifneq ($(findstring $(OS_TARGET),win32 win64),)
-	$(COPYTREE) lazarus startlazarus lazbuild $(LAZARUS_INSTALL_DIR)
+	$(COPYTREE) lazarus$(SRCEXEEXT) startlazarus$(SRCEXEEXT) lazbuild$(SRCEXEEXT) $(LAZARUS_INSTALL_DIR)
 else
-	$(INSTALLEXE) lazarus startlazarus lazbuild $(LAZARUS_INSTALL_DIR)
-	ln -sf ../$(INSTALL_BASEDIR)/lazarus $(INSTALL_PREFIX)/bin/lazarus-ide
-	ln -sf ../$(INSTALL_BASEDIR)/startlazarus $(INSTALL_PREFIX)/bin/startlazarus
-	ln -sf ../$(INSTALL_BASEDIR)/lazbuild $(INSTALL_PREFIX)/bin/lazbuild
-	ln -sf ../$(INSTALL_BASEDIR)/tools/lazres $(INSTALL_PREFIX)/bin/lazres
-	ln -sf ../$(INSTALL_BASEDIR)/tools/lrstolfm $(INSTALL_PREFIX)/bin/lrstolfm
-	ln -sf ../$(INSTALL_BASEDIR)/tools/updatepofiles $(INSTALL_PREFIX)/bin/updatepofiles
+	$(INSTALLEXE) lazarus$(SRCEXEEXT) startlazarus$(SRCEXEEXT) lazbuild$(SRCEXEEXT) $(LAZARUS_INSTALL_DIR)
+	ln -sf ../$(INSTALL_BASEDIR)/lazarus$(SRCEXEEXT) $(INSTALL_PREFIX)/bin/lazarus-ide$(SRCEXEEXT)
+	ln -sf ../$(INSTALL_BASEDIR)/startlazarus$(SRCEXEEXT) $(INSTALL_PREFIX)/bin/startlazarus$(SRCEXEEXT)
+	ln -sf ../$(INSTALL_BASEDIR)/lazbuild$(SRCEXEEXT) $(INSTALL_PREFIX)/bin/lazbuild$(SRCEXEEXT)
+	ln -sf ../$(INSTALL_BASEDIR)/tools/lazres$(SRCEXEEXT) $(INSTALL_PREFIX)/bin/lazres$(SRCEXEEXT)
+	ln -sf ../$(INSTALL_BASEDIR)/tools/lrstolfm$(SRCEXEEXT) $(INSTALL_PREFIX)/bin/lrstolfm$(SRCEXEEXT)
+	ln -sf ../$(INSTALL_BASEDIR)/tools/updatepofiles$(SRCEXEEXT) $(INSTALL_PREFIX)/bin/updatepofiles$(SRCEXEEXT)
 	$(MAKE) -C install/man install PREFIX=$(INSTALL_PREFIX) GINSTALL=$(GINSTALL)
 	$(INSTALL) install/lazarus.desktop $(INSTALL_PREFIX)/share/applications/lazarus.desktop
 	$(INSTALL) images/icons/lazarus128x128.png $(INSTALL_PREFIX)/share/pixmaps/lazarus.png
lazmakefile.patch (2,055 bytes)   

Alfred

2020-07-15 17:39

reporter   ~0124054

Naturally, the source extension on Linux is not necessary, but my logic demands it.
;-)

Issue History

Date Modified Username Field Change
2020-07-15 17:38 Alfred New Issue
2020-07-15 17:38 Alfred File Added: lazmakefile.patch
2020-07-15 17:39 Alfred Note Added: 0124054
2020-07-16 00:20 Mattias Gaertner Assigned To => Mattias Gaertner
2020-07-16 00:20 Mattias Gaertner Status new => resolved
2020-07-16 00:20 Mattias Gaertner Resolution open => fixed
2020-07-16 00:20 Mattias Gaertner Fixed in Revision => 63568.
2020-07-16 00:20 Mattias Gaertner LazTarget => -