mirror of https://github.com/fspc/dswim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
486 B
24 lines
486 B
23 years ago
|
|
||
|
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
|
||
|
|
||
|
|
||
|
|