Mercurial > octave
annotate etc/module.mk @ 30339:2e733d9ce10e stable
* etc/module.mk (%canon_reldir%_EXTRA_DIST): Include NEWS.6 in the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Nov 2021 11:58:02 -0500 |
parents | b3beb8273630 |
children | 0ec5eaabaf2c 86ddba86efbe |
rev | line source |
---|---|
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
1 %canon_reldir%_EXTRA_DIST = |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
2 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
3 %canon_reldir%_CLEANFILES = |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
4 %canon_reldir%_DISTCLEANFILES = |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
5 %canon_reldir%_MAINTAINERCLEANFILES = |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
6 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
7 %canon_reldir%_EXTRA_DIST += \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
8 %reldir%/NEWS.1 \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
9 %reldir%/NEWS.2 \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
10 %reldir%/NEWS.3 \ |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
24900
diff
changeset
|
11 %reldir%/NEWS.4 \ |
26274 | 12 %reldir%/NEWS.5 \ |
30339
2e733d9ce10e
* etc/module.mk (%canon_reldir%_EXTRA_DIST): Include NEWS.6 in the list.
John W. Eaton <jwe@octave.org>
parents:
30258
diff
changeset
|
13 %reldir%/NEWS.6 \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
14 %reldir%/PROJECTS \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
15 %reldir%/gdbinit |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
17 %canon_reldir%_EXTRA_DIST += \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
18 %reldir%/OLD-ChangeLogs/ChangeLog \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
19 %reldir%/OLD-ChangeLogs/ChangeLog.1 \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
20 %reldir%/OLD-ChangeLogs/doc-ChangeLog \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
21 %reldir%/OLD-ChangeLogs/libcruft-ChangeLog \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
22 %reldir%/OLD-ChangeLogs/liboctave-ChangeLog \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
23 %reldir%/OLD-ChangeLogs/scripts-ChangeLog \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
24 %reldir%/OLD-ChangeLogs/src-ChangeLog \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
25 %reldir%/OLD-ChangeLogs/test-ChangeLog |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
24899
1a46d174a483
include a proper definition of Octave's private font fallback directory
Mike Miller <mtmiller@octave.org>
parents:
24890
diff
changeset
|
27 fallback_FONT_FILES = \ |
24126
2390079a8aed
Provide default font files and use them (bug #52150)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
23504
diff
changeset
|
28 %reldir%/fonts/FreeSans.otf \ |
2390079a8aed
Provide default font files and use them (bug #52150)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
23504
diff
changeset
|
29 %reldir%/fonts/FreeSansBold.otf \ |
2390079a8aed
Provide default font files and use them (bug #52150)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
23504
diff
changeset
|
30 %reldir%/fonts/FreeSansBoldOblique.otf \ |
2390079a8aed
Provide default font files and use them (bug #52150)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
23504
diff
changeset
|
31 %reldir%/fonts/FreeSansOblique.otf |
2390079a8aed
Provide default font files and use them (bug #52150)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
23504
diff
changeset
|
32 |
24900
00d42b86d0a5
configure: new option --with-system-freefont to use system fonts (bug #53348)
Mike Miller <mtmiller@octave.org>
parents:
24899
diff
changeset
|
33 if AMCOND_INSTALL_INTERNAL_FONT_FILES |
24899
1a46d174a483
include a proper definition of Octave's private font fallback directory
Mike Miller <mtmiller@octave.org>
parents:
24890
diff
changeset
|
34 octfonts_DATA += \ |
1a46d174a483
include a proper definition of Octave's private font fallback directory
Mike Miller <mtmiller@octave.org>
parents:
24890
diff
changeset
|
35 $(fallback_FONT_FILES) |
24900
00d42b86d0a5
configure: new option --with-system-freefont to use system fonts (bug #53348)
Mike Miller <mtmiller@octave.org>
parents:
24899
diff
changeset
|
36 endif |
24899
1a46d174a483
include a proper definition of Octave's private font fallback directory
Mike Miller <mtmiller@octave.org>
parents:
24890
diff
changeset
|
37 |
24126
2390079a8aed
Provide default font files and use them (bug #52150)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
23504
diff
changeset
|
38 %canon_reldir%_EXTRA_DIST += \ |
24899
1a46d174a483
include a proper definition of Octave's private font fallback directory
Mike Miller <mtmiller@octave.org>
parents:
24890
diff
changeset
|
39 $(fallback_FONT_FILES) |
24126
2390079a8aed
Provide default font files and use them (bug #52150)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
23504
diff
changeset
|
40 |
24890
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
41 appdatadir = $(datadir)/metainfo |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
42 |
25591
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
43 APPDATA_XML_FILE := \ |
24890
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
44 %reldir%/icons/org.octave.Octave.appdata.xml |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
45 |
25591
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
46 appdata_DATA = $(APPDATA_XML_FILE) |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
47 |
24890
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
48 desktopdir = $(datadir)/applications |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
49 |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
50 desktop_DATA = \ |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
51 %reldir%/icons/org.octave.Octave.desktop |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
52 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
53 icon_IMAGE_FILES = \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
54 %reldir%/icons/octave-logo.svg \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
55 %reldir%/icons/octave-sombrero.png |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
57 icon_PNG_SIZES = \ |
26849
11e7037bed01
Add 1024x1024 Octave logo icon (bug #55836)
Andrew Janke <andrew@apjanke.net>
parents:
25591
diff
changeset
|
58 1024 \ |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
59 512 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
60 256 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
61 128 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
62 64 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
63 48 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 32 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 24 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 22 \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
67 16 |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
69 BUILT_PNG_ICONS = $(patsubst %,%reldir%/icons/octave-logo-%.png,$(icon_PNG_SIZES)) |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
71 WINDOWS_PNG_ICONS = $(filter %-16.png %-32.png %-48.png %-256.png,$(BUILT_PNG_ICONS)) |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
72 |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
73 BUILT_ICONS = \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
74 $(BUILT_PNG_ICONS) \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
75 %reldir%/icons/octave-logo.ico |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
77 %canon_reldir%_EXTRA_DIST += \ |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 $(BUILT_ICONS) \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
79 $(icon_IMAGE_FILES) \ |
24890
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
80 %reldir%/icons/octave_branding_samples.svg \ |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
81 %reldir%/icons/org.octave.Octave.appdata.xml \ |
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
82 %reldir%/icons/org.octave.Octave.desktop.in |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20307
diff
changeset
|
84 image_DATA += \ |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
85 $(icon_IMAGE_FILES) \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
86 %reldir%/icons/octave-logo.ico |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
87 |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
88 DIRSTAMP_FILES += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
89 %reldir%/icons/$(octave_dirstamp) |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
90 |
20333
23172e987766
Fix 'make install' errors for non-recursive build
Mike Miller <mtmiller@octave.org>
parents:
20328
diff
changeset
|
91 all-local: all-icons |
23172e987766
Fix 'make install' errors for non-recursive build
Mike Miller <mtmiller@octave.org>
parents:
20328
diff
changeset
|
92 |
24890
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
93 all-icons: %reldir%/icons/org.octave.Octave.desktop $(BUILT_ICONS) |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
94 |
24890
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
95 %reldir%/icons/org.octave.Octave.desktop: %reldir%/icons/org.octave.Octave.desktop.in | %reldir%/icons/$(octave_dirstamp) |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 $(AM_V_GEN)rm -f $@-t $@ && \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
97 $(SED) < $< > $@-t \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
98 -e "s|%OCTAVE_PREFIX%|${prefix}|" && \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
99 mv $@-t $@ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
100 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
101 $(BUILT_PNG_ICONS): %reldir%/icons/octave-logo.svg | %reldir%/icons/$(octave_dirstamp) |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
102 $(AM_V_GEN)rm -f $@-t $@ && \ |
30258
b3beb8273630
build: Use "-o" instead of redirecting stdout with rsvg-convert (bug #61404).
Markus Mützel <markus.muetzel@gmx.de>
parents:
26852
diff
changeset
|
103 $(RSVG_CONVERT) -w $(lastword $(subst -, ,$(patsubst %.png,%,$@))) -o $@-t $< && \ |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
104 mv $@-t $@ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
105 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
106 %reldir%/icons/octave-logo.ico: $(WINDOWS_PNG_ICONS) | %reldir%/icons/$(octave_dirstamp) |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
107 $(AM_V_GEN)rm -f $@-t $@ && \ |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
108 $(ICOTOOL) --create --raw $(WINDOWS_PNG_ICONS) > $@-t && \ |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
109 mv $@-t $@ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
110 |
25591
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
111 ## Check that the release date and version number are in |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
112 ## $(APPDATA_XML_FILE), but only for actual releases, which means |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
113 ## we skip the test if the minor version number is 0 or the patch |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
114 ## version number is not 0. |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
115 |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
116 appdata-dist-hook: |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
117 @test x"$(DIST_IGNORE_APPDATA_VERSION)" != x || \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
118 test $(OCTAVE_MINOR_VERSION) -eq 0 || \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
119 test $(OCTAVE_PATCH_VERSION) -ne 0 || \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
120 grep "<release *date=\"$(OCTAVE_RELEASE_DATE)\" *version=\"$(OCTAVE_VERSION)\"/>" $(srcdir)/$(APPDATA_XML_FILE) > /dev/null || \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
121 { echo; \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
122 echo "Packaging distribution requires the version number in the $(APPDATA_XML_FILE)."; \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
123 echo "Please update first or pass DIST_IGNORE_APPDATA_VERSION=1."; \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
124 echo "Cannot package distribution!"; \ |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
125 echo; exit 1; } |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
126 .PHONY: appdata-dist-hook |
a932bdccdef8
check for version info in org.octave.Octave.appdata.xml for make dist
John W. Eaton <jwe@octave.org>
parents:
25226
diff
changeset
|
127 |
20333
23172e987766
Fix 'make install' errors for non-recursive build
Mike Miller <mtmiller@octave.org>
parents:
20328
diff
changeset
|
128 install-data-local: install-icons |
23172e987766
Fix 'make install' errors for non-recursive build
Mike Miller <mtmiller@octave.org>
parents:
20328
diff
changeset
|
129 |
23172e987766
Fix 'make install' errors for non-recursive build
Mike Miller <mtmiller@octave.org>
parents:
20328
diff
changeset
|
130 uninstall-local: uninstall-icons |
23172e987766
Fix 'make install' errors for non-recursive build
Mike Miller <mtmiller@octave.org>
parents:
20328
diff
changeset
|
131 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
132 install-icons: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
133 for f in $(BUILT_PNG_ICONS); do \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
134 size=`echo $$f | $(SED) -n -e "s/.*-\([0-9]\+\)\.png/\1/p"`; \ |
20397
1bc95d7148b7
build: Fix installation of icons from source tarball
Mike Miller <mtmiller@octave.org>
parents:
20395
diff
changeset
|
135 if test -f $$f; then d=; else d="$(srcdir)/"; fi; \ |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
136 $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps; \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
137 $(INSTALL_DATA) "$$d$$f" $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/octave.png; \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
138 done |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
139 $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
140 $(INSTALL_DATA) $(srcdir)/%reldir%/icons/octave-logo.svg $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/octave.svg |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
141 |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
142 uninstall-icons: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
143 for f in $(BUILT_PNG_ICONS); do \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
144 size=`echo $$f | $(SED) -n -e "s/.*-\([0-9]\+\)\.png/\1/p"`; \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/octave.png; \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 done |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
147 rm -f $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/octave.svg |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
149 EXTRA_DIST += $(%canon_reldir%_EXTRA_DIST) |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
150 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
151 %canon_reldir%_CLEANFILES += \ |
24890
d664734ce8eb
Use reverse DNS naming scheme for freedesktop application identifier
Mike Miller <mtmiller@octave.org>
parents:
24126
diff
changeset
|
152 %reldir%/icons/org.octave.Octave.desktop |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
153 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
154 %canon_reldir%_MAINTAINERCLEANFILES += \ |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
155 $(BUILT_ICONS) |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
156 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
157 CLEANFILES += $(%canon_reldir%_CLEANFILES) |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
158 DISTCLEANFILES += $(%canon_reldir%_DISTCLEANFILES) |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
159 MAINTAINERCLEANFILES += $(%canon_reldir%_MAINTAINERCLEANFILES) |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
160 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
161 etc-clean: |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
162 rm -f $(%canon_reldir%_CLEANFILES) |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
163 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
164 etc-distclean: etc-clean |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
165 rm -f $(%canon_reldir%_DISTCLEANFILES) |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
166 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
167 etc-maintainer-clean: etc-distclean |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
21964
diff
changeset
|
168 rm -f $(%canon_reldir%_MAINTAINERCLEANFILES) |