Debian System Wide Information Manager
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.

33 lines
786 B

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/dswim
cp -fa bin/*swim $(DESTDIR)/usr/lib/dswim
install -d $(DESTDIR)/etc/dswim
cp -fa swimrc $(DESTDIR)/etc/dswim
install -d $(DESTDIR)/usr/share/man/man8
cp -fa swim.8 $(DESTDIR)/usr/share/man/man8
install -d $(DESTDIR)/usr/share/man/man5
cp -fa swimrc.5 $(DESTDIR)/usr/share/man/man5
remove:
rm /usr/share/perl5/SWIM/*
rmdir /usr/share/perl5/SWIM
rm /usr/bin/swim
rm /usr/lib/dswim/*swim
rmdir /usr/lib/dswim
rm /etc/dswim/swimrc
rmdir /etc/dswim
rm /usr/share/man/man8/swim.8
rm /usr/share/man/man5/swimrc.5