Skip to content

Commit 690cf97

Browse files
committed
docs
1 parent 0e4cb72 commit 690cf97

3 files changed

Lines changed: 20 additions & 195 deletions

File tree

‎INSTALL‎

Lines changed: 20 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,55 @@
11
Build:
2-
32
make
3+
or
4+
make clean all
45

56
Install:
6-
77
sudo make install
88

99
Unininstall:
10-
1110
sudo make uninstall
1211

13-
14-
Other build targets:
15-
--------------------------------------------------------------------------------
16-
17-
Generate a .deb package, for release
18-
19-
Updates .deb_pkg_version.mak
20-
Unconditional full clean & build everytime
21-
deb filename increments with every run, either by build number or by pkg version
22-
23-
make release_deb
24-
2512
--------------------------------------------------------------------------------
2613

27-
Build just the console app
14+
deb packages:
2815

29-
make mainline
16+
Install pbuilder-dist:
17+
sudo apt install pbuilder-dist
3018

31-
--------------------------------------------------------------------------------
32-
33-
Build just the GUI app
19+
To create the deb build environment, run one time only.
20+
make deb_env_create
3421

35-
make mainline-gtk
22+
To update the build environment, run as needed.
23+
make deb_env_update
3624

37-
--------------------------------------------------------------------------------
38-
39-
Generate a .deb package, for local repeated re-building
25+
To (re)build a deb without incrementing build number or doing make clean.
26+
make deb
4027

41-
Does not update .deb_pkg_version.mak
42-
Only builds if not yet built or if any source files changed
43-
deb filename does not increment
28+
To build a deb for release. Increments build number and does clean before build.
29+
make release_deb
4430

45-
make deb
31+
For any of the deb-related build targets, you may also build for some other target
32+
distribution by adding "dist=<dist>" and/or "arch=<arch>" to the end of the command.
4633

47-
--------------------------------------------------------------------------------
34+
So, to build a deb for xenial (if you're not running xenial),
35+
first, one-time setup
36+
make deb_env_create dist=xenial
37+
then
38+
make deb dist=xenial
4839

4940
Install the currently built deb
5041
Allows to install built deb without having to know it's long path & filename
5142
Already includes sudo, don't need "sudo make install-deb"
52-
5343
make install-deb
5444

55-
--------------------------------------------------------------------------------
56-
5745
Uninstall any version of deb package that might be installed
5846
Allows to test "make install" without conflict or ambiguity with installed deb
5947
Already includes sudo, don't need "sudo make uninstall-deb"
60-
6148
make uninstall-deb
6249

63-
--------------------------------------------------------------------------------
64-
65-
Translation files are maintained automatically, but you can regenerate any of
66-
them manually with "make <filename>"
67-
All translation files are in the po/ directory, and named <LANG>.po
68-
The po template is in the po/ directory, and named messages.pot
69-
70-
Regenerate messages.pot
71-
make po/messages.pot
72-
73-
Regenerate the Spanish .po file (same for any po/*.po files)
74-
make po/es.po
75-
76-
--------------------------------------------------------------------------------
77-
78-
The files listed in $(misc_files) are maintained automatically, but you can
79-
regenerate any of them manually with "make <filename>".
80-
Examples:
81-
82-
Regenerate README.md from README.md.src
83-
make README.md
84-
85-
Regenerate debian/copyright from debian/copyright.src
86-
make debian/copyright
87-
88-
--------------------------------------------------------------------------------
89-
9050
debian/changelog is maintained automatically (that is, "dch" is called when
9151
needed, you still have to manually edit once dch launches the editor), but you
9252
can also update it manually any time.
9353
This will run "dch" with appropriate commandline options to pre-load the pkg
9454
name, version number, maintainer name, maintainer email etc.
95-
9655
make changelog
97-
98-
--------------------------------------------------------------------------------
99-
100-
Regenerate just the deb source pkg files (*.dsc, *.tar.gz)
101-
This is usually done automatically.
102-
103-
make deb-src
104-

‎INSTALL.src‎

Lines changed: 0 additions & 104 deletions
This file was deleted.

‎Makefile‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -154,28 +154,6 @@ uninstall:
154154
rm -f $(DESTDIR)/home/*/.config/$(BRANDING_SHORTNAME)/$(BRANDING_SHORTNAME)-notify.sh
155155
rm -f $(DESTDIR)/home/*/.config/autostart/$(BRANDING_SHORTNAME).desktop
156156

157-
158-
## deb build stuff
159-
##
160-
## optionally add "host_dist=foo" to build for dist "foo"
161-
## optionally add "host_arch=foo" to build for arch "foo"
162-
##
163-
## To create the deb build environment, run one time only.
164-
## make deb_env_create
165-
##
166-
## To update the build environment, run as needed.
167-
## make deb_env_update
168-
##
169-
## To (re)build a deb without incrementing build number or doing clean.
170-
## make deb
171-
##
172-
## To build a deb for release. Increments build number and does clean before build.
173-
## make release_deb
174-
##
175-
## Example for bionic on i386.
176-
## make deb_env_create host_dist=bionic host_arch=i386
177-
## make release_deb host_dist=bionic host_arch=i386
178-
179157
.PHONY: pbuilder-dist
180158
pbuilder-dist:
181159
@which pbuilder-dist >/dev/null || { echo "Missing pbuilder-dist. apt install ubuntu-dev-tools" ;false ; }

0 commit comments

Comments
 (0)