Permalink
Switch branches/tags
stable gitpan_version/20140711 gitpan_version/20140328 gitpan_version/20130922 gitpan_version/20130806 gitpan_version/20130805 gitpan_version/20130717 gitpan_version/20121207 gitpan_version/20120714 gitpan_version/20120701 gitpan_version/20120619 gitpan_version/20101217 gitpan_version/20090616 gitpan_version/20071205 gitpan_version/20070801 gitpan_version/20070508 gitpan_version/20070504 gitpan_version/20070424 gitpan_version/20060719 gitpan_version/20060614 gitpan_version/20031021 gitpan_version/20030726 gitpan_version/20021130 cpan_version/20140711 cpan_version/20140328 cpan_version/20130922 cpan_version/20130806 cpan_version/20130805 cpan_version/20130717 cpan_version/20121207 cpan_version/20120714 cpan_version/20120701 cpan_version/20120619 cpan_version/20101217 cpan_version/20090616 cpan_version/20071205 cpan_version/20070801 cpan_version/20070508 cpan_version/20070504 cpan_version/20070424 cpan_version/20060719 cpan_version/20060614 cpan_version/20031021 cpan_version/20030726 cpan_version/20021130 cpan_path/SHANCOCK/Perl-Tidy-20140711.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20140328.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130922.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130806.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130805.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130717.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20121207.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20120714.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20120701.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20120619.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20101217.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20090616.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20071205.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070801.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070508.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070504.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070424.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20060719.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20060614.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20031021.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20030726.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20021130.tar.gz SHANCOCK
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 1.35 KB
# This is a sample Makefile for the previous perltidy installation
# method in which perltidy was a single script. The installation using
# Makefile.PL is preferred, but this might be helpful if you want to use
# this old installation method to install a single perltidy script
# instead. See the INSTALL file for more information.
#
# Step 0: Build the monolithic version of 'perltidy':
# 'perl pm2pl'
# and then verify that 'perltidy' works using something like:
# perl ./perltidy lextest.pl
# Step 1: edit BINDIR to reflect where you want to put perltidy
# This is fairly standard:
BINDIR = /usr/local/bin
# Step 2: edit MANDIR to reflect where you want to put the man page, perltidy.1
# or comment out MANDIR to skip installing a man page.
# (Man pages can be found on the web at http://perltidy.sourceforge.net)
#
# Note: The value of MANDIR varies a lot, so be sure to check this.
MANDIR = /usr/local/man/man1
# Step 3: Then become superuser (if necessary) and issue the command
# make install
PROGRAM = perltidy
install: $(PROGRAM)
cp $(PROGRAM) $(BINDIR)/$(PROGRAM)
chmod 755 $(BINDIR)/$(PROGRAM)
if test -d $(MANDIR); then cp docs/$(PROGRAM).1 $(MANDIR)/$(PROGRAM).1; \
chmod 644 $(MANDIR)/$(PROGRAM).1; \
fi
uninstall:
if test -d $(BINDIR); then rm -f $(BINDIR)/$(PROGRAM); fi
if test -d $(MANDIR); then rm -f $(MANDIR)/$(PROGRAM).1; fi