1
0
mirror of https://github.com/fspc/dswim.git synced 2025-02-22 08:33:24 -05:00
dswim/Makefile
freesource 2a1be886f9 Greatly simplified the Makefile, things will just be put in the proper locations,
documentation is handled separately, and bin rather then sbin will be used,
eventually swim will not be root dependent.
2001-10-12 02:07:48 +00:00

26 lines
542 B
Makefile

all: install
install:
install -d $(DESTDIR)/var/lib/dpkg
install -d $(DESTDIR)/bin
cp -a swim $(DESTDIR)/bin/swim
install -d $(DESTDIR)/lib/perl5/SWIM
cp -f Conf.pm $(DESTDIR)/lib/perl5/SWIM/Conf.pm
cp -fa lib/* $(DESTDIR)/lib/perl5/SWIM
install -d $(DESTDIR)/lib/SWIM
cp -fa bin/* $(DESTDIR)/lib/SWIM
install -d $(DESTDIR)/etc/swim
cp -f swimz.list $(DESTDIR)/etc/swim
cp -f swimrc $(DESTDIR)/etc/swim
remove:
rm /usr/lib/perl5/SWIM/*
rmdir /usr/lib/perl5/SWIM
rm /usr/bin/swim
rm /usr/lib/SWIM/*
rmdir /usr/lib/SWIM