source: filezilla/trunk/fuentes/data/Makefile.am @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 1.5 KB
Line 
1dist_noinst_DATA = install.nsi.in \
2                makezip.sh.in \
3                nsis_appid.dll \
4                nsis_appid.txt \
5                process_running.nsh \
6                UAC.nsh \
7                UAC.dll \
8                UAC_unicode.dll.txt \
9                uninstall.ico
10
11if MAKENSISSCRIPT
12
13if LOCALES
14  MAYBE_LANGFILES = installlangfiles.nsh uninstalllangfiles.nsh
15endif
16
17noinst_DATA = $(MAYBE_LANGFILES) libtoolexecutablesubdir.nsh
18
19installlangfiles.nsh: Makefile
20        rm -f $@
21        for i in @FILEZILLA_LINGUAS@; do\
22          echo !insertmacro INSTALLLANGFILE $$i >> $@; \
23        done
24
25uninstalllangfiles.nsh: Makefile
26        rm -f $@
27        for i in @FILEZILLA_LINGUAS@; do\
28          echo !insertmacro UNINSTALLLANGFILE $$i >> $@; \
29        done
30
31# Some versions of libtool create executables as foo.exe
32# while otheres create executables as .libs/foo.exe
33# NSIS needs to know the actual path.
34
35libtoolexecutablesubdir.nsh: Makefile
36        rm -f $@
37        touch test_libtool_exedir.c
38        $(CC) -c -o test_libtool_exedir.o test_libtool_exedir.c
39        exedir=`$(LIBTOOL) -n --mode=link $(CC) -o test_libtool_exedir$(EXEEXT) test_libtool_exedir.o`; \
40        if echo "$$exedir" | grep -- '-o \.libs' > /dev/null; then \
41          echo "!define LT_EXEDIR \".libs\\\"" > libtoolexecutablesubdir.nsh; \
42        else \
43          touch libtoolexecutablesubdir.nsh; \
44        fi
45        rm -f test_libtool_exedir.o test_libtool_exedir.c
46
47CLEANFILES = installlangfiles.nsh uninstalllangfiles.nsh libtoolexecutablesubdir.nsh
48
49endif
50
51desktopentrydir = $(datadir)/applications
52dist_desktopentry_DATA = filezilla.desktop
53
54appdatadir = $(datadir)/appdata
55dist_appdata_DATA = filezilla.appdata.xml
56
Note: See TracBrowser for help on using the repository browser.