1
0
mirror of https://github.com/fspc/dswim.git synced 2025-02-22 00:23:28 -05:00

Part of the packaging thingy.

This commit is contained in:
freesource 2001-10-12 20:46:15 +00:00
parent 01c48ca6dd
commit 6782a84bf7

23
Makefile.pkg Normal file
View File

@ -0,0 +1,23 @@
all: install
install:
install -d $(DESTDIR)/var/lib/dpkg
install -d $(DESTDIR)/usr/bin
cp -a swim $(DESTDIR)/usr/bin/swim
install -d $(DESTDIR)/usr/share/perl5/SWIM
cp -fa SWIM/*pm $(DESTDIR)/usr/share/perl5/SWIM
install -d $(DESTDIR)/usr/lib/SWIM
cp -fa bin/* $(DESTDIR)/usr/lib/SWIM
install -d $(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