summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Make.config8
-rw-r--r--README4
-rw-r--r--tools/convpic/Makefile2
-rw-r--r--tools/crtfont/Makefile2
-rw-r--r--tools/genfont/Makefile2
-rw-r--r--tools/lcdtestpattern/Makefile2
-rw-r--r--tools/showpic/Makefile2
-rw-r--r--tools/showtext/Makefile2
8 files changed, 16 insertions, 8 deletions
diff --git a/Make.config b/Make.config
index f6a668f..47ac372 100644
--- a/Make.config
+++ b/Make.config
@@ -51,12 +51,20 @@ MANDIR = $(DESTDIR)/man
DEFINES += -D_GNU_SOURCE
+
+#
+#
+# Build & install configuration
+
# comment this variable out if you don't want to use FreeType2 font rendering
HAVE_FREETYPE2=1
# comment this variable out if you don't want to use fontconfig font names
HAVE_FONTCONFIG=1
+# comment this if you do not want to have the binaries pre-stripped on 'make install'
+PRESTRIP = -s
+
# uncomment one of the following two lines if you want either GraphicsMagick/ImageMagick support
#HAVE_IMAGEMAGICK=1
#HAVE_GRAPHICSMAGICK=1
diff --git a/README b/README
index 3256627..7117d43 100644
--- a/README
+++ b/README
@@ -66,8 +66,8 @@ Installation and Configuration:
tar xzf graphlcd-base-0.1.2.tgz
-2. Configure if you want FreeType2 support by commenting/uncommenting
- HAVE_FREETYPE2 in Make.config.
+2. Configure the package to your needs, by following the comments in the
+ "Build & install configuration" section in Make.config.
3. Compile the libraries and tools.
diff --git a/tools/convpic/Makefile b/tools/convpic/Makefile
index 93cdd71..771bc3e 100644
--- a/tools/convpic/Makefile
+++ b/tools/convpic/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/crtfont/Makefile b/tools/crtfont/Makefile
index 815ea2e..a9741c0 100644
--- a/tools/crtfont/Makefile
+++ b/tools/crtfont/Makefile
@@ -35,7 +35,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/genfont/Makefile b/tools/genfont/Makefile
index 20cab12..0bd2279 100644
--- a/tools/genfont/Makefile
+++ b/tools/genfont/Makefile
@@ -38,7 +38,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/lcdtestpattern/Makefile b/tools/lcdtestpattern/Makefile
index 9b7b905..29af7fc 100644
--- a/tools/lcdtestpattern/Makefile
+++ b/tools/lcdtestpattern/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/showpic/Makefile b/tools/showpic/Makefile
index 93c039a..6bb2bc2 100644
--- a/tools/showpic/Makefile
+++ b/tools/showpic/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/showtext/Makefile b/tools/showtext/Makefile
index 542482a..139d2e8 100644
--- a/tools/showtext/Makefile
+++ b/tools/showtext/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)