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:
parent
01c48ca6dd
commit
6782a84bf7
23
Makefile.pkg
Normal file
23
Makefile.pkg
Normal 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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user