summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index 483527d..b1b6226 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
Release history for lariza
+next
+ [Fixed]
+ - Build no longer depends on GNU sed.
+
v20.05 2020-05-15
[Changed]
- lariza now uses native GTK tabs instead of relying on suckless
diff --git a/Makefile b/Makefile
index ac21403..f05e448 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
CFLAGS += -Wall -Wextra -Wno-unused-parameter -O3
__NAME__ = lariza
-__NAME_UPPERCASE__ = `echo $(__NAME__) | sed 's/.*/\U&/'`
-__NAME_CAPITALIZED__ = `echo $(__NAME__) | sed 's/^./\U&\E/'`
+__NAME_UPPERCASE__ = LARIZA
INSTALL = install
INSTALL_PROGRAM = $(INSTALL)
@@ -25,7 +24,6 @@ $(__NAME__): browser.c
$(CC) $(CFLAGS) $(LDFLAGS) \
-D__NAME__=\"$(__NAME__)\" \
-D__NAME_UPPERCASE__=\"$(__NAME_UPPERCASE__)\" \
- -D__NAME_CAPITALIZED__=\"$(__NAME_CAPITALIZED__)\" \
-o $@ $< \
`pkg-config --cflags --libs gtk+-3.0 glib-2.0 webkit2gtk-4.0`
@@ -33,7 +31,6 @@ we_adblock.so: we_adblock.c
$(CC) $(CFLAGS) $(LDFLAGS) \
-D__NAME__=\"$(__NAME__)\" \
-D__NAME_UPPERCASE__=\"$(__NAME_UPPERCASE__)\" \
- -D__NAME_CAPITALIZED__=\"$(__NAME_CAPITALIZED__)\" \
-shared -o $@ -fPIC $< \
`pkg-config --cflags --libs glib-2.0 webkit2gtk-4.0`