-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.in
executable file
·34 lines (32 loc) · 1.53 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makefile for GNUpod
#
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
infodir = @infodir@
mandir = @mandir@
SHELL = @SHELL@
top_srcdir = @top_srcdir@
perlbinary = @PERL@
podmanbin = @PODMAN@
pkgver = @PACKAGE_VERSION@
pkgfname = gnupod-@PACKAGE_VERSION@
pkgdir = gnupod-@PACKAGE_VERSION@-noarch-1au
# empty perlmoddir will mean we install in the first element in @INC
perlmoddir =
build:
$(SHELL) $(top_srcdir)/mkinstalldirs $(top_srcdir)/build/bin/GNUpod
$(SHELL) $(top_srcdir)/mkinstalldirs $(top_srcdir)/build/man
$(SHELL) $(top_srcdir)/mkinstalldirs $(top_srcdir)/build/info
$(perlbinary) $(top_srcdir)/tools/gnupod_install.pl BUILD "$(perlbinary)" "$(podmanbin)" "$(bindir)" "$(infodir)" "$(mandir)" "$(DESTDIR)" "$(perlmoddir)"
cd $(top_srcdir)/build/man && gzip *.1
clean:
rm -rvf $(top_srcdir)/build
install: build
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
$(perlbinary) $(top_srcdir)/tools/gnupod_install.pl INSTALL "$(perlbinary)" "$(podmanbin)" "$(bindir)" "$(infodir)" "$(mandir)" "$(DESTDIR)" "$(perlmoddir)"
uninstall:
$(perlbinary) $(top_srcdir)/tools/gnupod_install.pl REMOVE "$(perlbinary)" "$(podmanbin)" "$(bindir)" "$(infodir)" "$(mandir)" "" "$(perlmoddir)"
release: clean
mkdir ../GNUPOD_R && find . | grep -v .git | grep -v \.\#| cpio -pvmd ../GNUPOD_R && cd ../GNUPOD_R && autoconf && rm Makefile && rm config.log config.status && rm -rf autom4te.cache testcases && echo DONE