Skip to content

Commit

Permalink
fix sed in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bkw777 committed Jun 27, 2023
1 parent 71e5eba commit 004b539
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ $(BRANDING_SHORTNAME)-gtk: $(misc_files) $(common_vala_files) $(gui_vala_files)
$(common_vala_files) $(gui_vala_files) -o $(@)

$(misc_files): %: %.src BRANDING.mak
sed 's|BRANDING_SHORTNAME|$(BRANDING_SHORTNAME)|g' \
';s|BRANDING_LONGNAME|$(BRANDING_LONGNAME)|g' \
';s|BRANDING_AUTHORNAME|$(BRANDING_AUTHORNAME)|g' \
';s|BRANDING_AUTHOREMAIL|$(BRANDING_AUTHOREMAIL)|g' \
';s|BRANDING_WEBSITE|$(BRANDING_WEBSITE)|g' \
';s|BRANDING_VERSION|$(BRANDING_VERSION)|g' \
';s|BRANDING_GITREPO|$(BRANDING_GITREPO)|g' \
sed -e 's|BRANDING_SHORTNAME|$(BRANDING_SHORTNAME)|g' \
-e 's|BRANDING_LONGNAME|$(BRANDING_LONGNAME)|g' \
-e 's|BRANDING_AUTHORNAME|$(BRANDING_AUTHORNAME)|g' \
-e 's|BRANDING_AUTHOREMAIL|$(BRANDING_AUTHOREMAIL)|g' \
-e 's|BRANDING_WEBSITE|$(BRANDING_WEBSITE)|g' \
-e 's|BRANDING_VERSION|$(BRANDING_VERSION)|g' \
-e 's|BRANDING_GITREPO|$(BRANDING_GITREPO)|g' \
$(@).src >$(@)

$(pot_file): $(common_vala_files) $(tui_vala_files) $(gui_vala_files)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BRANDING_LONGNAME
# Mainline Kernels
A tool for installing [Ubuntu Mainline Kernel Builds](https://wiki.ubuntu.com/Kernel/MainlineBuilds) onto debian-based distributions.

![Main window screenshot](main_window.png)
Expand Down Expand Up @@ -69,14 +69,14 @@ There are also .deb packages in [releases](../../releases/latest), generated by
# Build
```
sudo apt install libgee-0.8-dev libjson-glib-dev libvte-2.91-dev valac aria2 lsb-release make gettext dpkg-dev
git clone BRANDING_GITREPO
git clone https://github.com/bkw777/mainline.git
cd mainline
make
sudo make install
```

# Usage
Look for System -> BRANDING_LONGNAME in your desktop's Applications/Start menu.
Look for System -> Mainline Kernels in your desktop's Applications/Start menu.

Otherwise:
CLI
Expand Down Expand Up @@ -163,7 +163,7 @@ Sorting on the "Notes" column is a way to see all kernels that have any notes to

Debugging notifications:
`DEBUG_NOTIFY_SEND=true VERBOSE=3 mainline --notify`
Then `ls -l ${XDG_RUNTIME_DIR:-/tmp}/*.e`
Then find the logs here `ls -al ${XDG_RUNTIME_DIR:-/tmp}/.*.e`

* If **Uninstall Old** doesn't remove some distribution kernel packages
Use your normal package manager like apt or synaptic to remove the parent meta-package:
Expand Down
2 changes: 1 addition & 1 deletion README.md.src
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Sorting on the "Notes" column is a way to see all kernels that have any notes to

Debugging notifications:
`DEBUG_NOTIFY_SEND=true VERBOSE=3 BRANDING_SHORTNAME --notify`
Then `ls -l ${XDG_RUNTIME_DIR:-/tmp}/*.e`
Then find the logs here `ls -al ${XDG_RUNTIME_DIR:-/tmp}/.*.e`

* If **Uninstall Old** doesn't remove some distribution kernel packages
Use your normal package manager like apt or synaptic to remove the parent meta-package:
Expand Down

0 comments on commit 004b539

Please sign in to comment.