X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=974f8dc43851473316769b9e2947888fcd72d3c2;hb=55e7dbf00c8a962a57ede24ca8764dfa4765d273;hp=6fdb7324a7909de3c36220edcbfdc188410c3e4b;hpb=335e2ce30616f0f2a59b2ad908261053d26f7aad;p=mymail.git diff --git a/Makefile b/Makefile index 6fdb732..974f8dc 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ BINARY_PATH = $(DESTDIR)/usr/bin MAN_PATH = $(DESTDIR)/usr/share/man/man1 -LDFLAGS=-lcurses +LDFLAGS= UNAME=\"$(shell uname -srmn)\" @@ -41,13 +41,11 @@ mymail: mymail.o install: mymail mkdir -p $(BINARY_PATH) $(MAN_PATH) install -m 755 mymail $(BINARY_PATH) - install -m 755 bash-mymail.sh $(BINARY_PATH) install -m 644 mymail.1 $(MAN_PATH) gzip $(MAN_PATH)/mymail.1 uninstall: rm $(BINARY_PATH)/mymail - rm $(BINARY_PATH)/bash-mymail.sh rm $(MAN_PATH)/mymail.1.gz clean: