1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff --git a/Makefile b/Makefile
index 4098035..345a8a2 100644
--- a/Makefile
+++ b/Makefile
@@ -128,8 +128,7 @@ install: fotocx uninstall
cp -f -R images/* $(DESTDIR)$(IMAGEDIR)
cp -f metainfo/* $(DESTDIR)$(METAINFODIR)
# man page
- gzip -fk -9 man/fotocx.man
- mv -f man/fotocx.man.gz $(DESTDIR)$(MANDIR)/fotocx.1.gz
+ cp man/fotocx.man $(DESTDIR)$(MANDIR)/fotocx.1
# desktop file and icon
cp -f fotocx.desktop $(DESTDIR)$(MENUDIR)
cp -f fotocx.png $(DESTDIR)$(ICONDIR)
diff --git a/zfuncs.cc b/zfuncs.cc
index 3aa6766..1fbedb9 100644
--- a/zfuncs.cc
+++ b/zfuncs.cc
@@ -6122,7 +6122,7 @@ int zinitapp(ch *appvers, int argc, ch *argv[])
strncatv(zdatadir,199,zprefix,"/share/",zappname,"/data",null); // /prefix/share/appname/data
strncatv(zimagedir,199,zprefix,"/share/",zappname,"/images",null); // /prefix/share/appname/images
- strncatv(zdocdir,199,zprefix,"/share/doc/",zappname,null); // /prefix/share/doc/appname
+ strncatv(zdocdir,199,zprefix,"/share/doc/",zappvers,null); // /prefix/share/doc/appname
ch_time = zstrdup(build_date_time,"zinitapp");
if (ch_time[4] == ' ') ch_time[4] = '0'; // replace month day ' d' with '0d'
|