BINDIR = @bindir@
VARDIR = /var/paraslash
PKGDATADIR = @datarootdir@/@PACKAGE_NAME@
-PICDIR = $(PKGDATADIR)/pics
MANDIR = @datarootdir@/man/man1
install_sh = @install_sh@
CPPFLAGS += -Wchar-subscripts
CPPFLAGS += -Wformat-security
CPPFLAGS += -DBINDIR='"$(BINDIR)"'
-CPPFLAGS += -DPICDIR='"$(PKGDATADIR)/pics"'
CPPFLAGS += -DBUILD_DATE='"$(build_date)"'
CPPFLAGS += -DSYSTEM='"$(system)"'
CPPFLAGS += -DCODENAME='"$(codename)"'
man_binaries := $(BINARIES)
man_pages := $(patsubst %, man/man1/%.1, $(man_binaries))
man_pages_html := $(patsubst %, man/html/%.html, $(man_binaries))
-PICS := $(wildcard pics/paraslash/*.jpg)
gengetopts := $(wildcard *.ggo)
gengetopts_c := $(gengetopts:.ggo=.cmdline.c)
gengetopts_h := $(gengetopts:.ggo=.cmdline.h)
web_man := web/sync/man
autocrap := config.h.in configure
tarball_pfx := @PACKAGE_TARNAME@-@PACKAGE_VERSION@
-tarball_delete = web versions pics/screenshots pics/web .changelog_before_cvs \
- .changelog_cvs
+tarball_delete = web versions pics .changelog_before_cvs .changelog_cvs
tarball_delete := $(patsubst %,$(tarball_pfx)/%,$(tarball_delete))
tarball_add := $(gengetopts_c) $(gengetopts_h) $(autocrap)
install: all man
- mkdir -p $(BINDIR) $(PICDIR) $(MANDIR)
+ mkdir -p $(BINDIR) $(MANDIR)
$(install_sh) -s -m 755 $(BINARIES) $(BINDIR)
- $(install_sh) -m 644 $(PICS) $(PICDIR)
$(install_sh) -m 644 $(man_pages) $(MANDIR)
mkdir -p $(VARDIR) >/dev/null 2>&1 || true # not fatal, so don't complain