hot-babe/Makefile
Eirik Øverby 6aff485ced Release 0.2.2 - last known release
Website disappeared between Jun 15, 2010 and July 7, 2012.
No intermediate releases have been found, but it might be possible to reconstruct from Debian source diffs - I have made no attempt to do so.

0.2.2:
    Added option --version, -v
    Added hot-babe pixmap
    Bugfix when the number of pictures was not 5, resulting on awful colors
    Inform the wm that hot-babe is a dock (I really didn't check it)
    Added option --geometry to position the hot-babe

0.2.1:
    - Fixed some include missing for FreeBSD
    - Added support of a user configuration and pictures directory
    - Added configuration example file
    - Fixed segfault when the number of pictures was smaller than 5
    - Update man page
    - Fixed Makefile to follow right DESTDIR/PREFIX usage ;-)

0.2.0:
    - Using gdk2 and gdk-pixbuf2
    - License is now "Artistic License" for code and pictures
2025-02-09 18:07:00 +01:00

39 lines
1.2 KiB
Makefile

# where to install this program
PREFIX := /usr/local
VERSION := 0.2.2
# optimization cflags
CFLAGS += -O2 -Wall -g `pkg-config gdk-2.0 gdk-pixbuf-2.0 --cflags` -DPREFIX=\"$(PREFIX)\" -DVERSION=\"$(VERSION)\"
OBJS = hot-babe.o loader.o
CC = gcc
LIBS = `pkg-config gdk-2.0 gdk-pixbuf-2.0 --libs`
DOC = ChangeLog NEWS TODO LICENSE CONTRIBUTORS copyright config.example
all: hot-babe
hot-babe: $(OBJS)
$(CC) -o hot-babe $(OBJS) $(LIBS)
clean:
rm -f hot-babe *.o
install:
install -d $(DESTDIR)$(PREFIX)/bin
install -m 0755 hot-babe $(DESTDIR)$(PREFIX)/bin
install -d $(DESTDIR)$(PREFIX)/share/hot-babe/hb01
install -m 0644 hb01/* $(DESTDIR)$(PREFIX)/share/hot-babe/hb01
install -d $(DESTDIR)$(PREFIX)/share/doc/hot-babe
install -m 0644 $(DOC) $(DESTDIR)$(PREFIX)/share/doc/hot-babe
install -d $(DESTDIR)$(PREFIX)/share/man/man1
install -m 0644 hot-babe.1 $(DESTDIR)$(PREFIX)/share/man/man1
install -d $(DESTDIR)$(PREFIX)/share/pixmaps
install -m 0644 hot-babe.xpm $(DESTDIR)$(PREFIX)/share/pixmaps
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/hot-babe
rm -rf $(DESTDIR)$(PREFIX)/share/hot-babe
rm -rf $(DESTDIR)$(PREFIX)/share/doc/hot-babe
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/hot-babe.1
rm -f $(DESTDIR)$(PREFIX)/share/pixmaps/hot-babe.xpm