X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=239047f9d40cb0113e1866151736d9315c4d4204;hb=13a3199935b5aafa5e84525bafc4473060189316;hp=5972c352785dbf238ee32ec0624b83a24b6d8a84;hpb=a7fc9d1dda7e3d2155b78587c4b1393f15a0ffb4;p=zpackage diff --git a/Makefile b/Makefile index 5972c35..239047f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ CFLAGS=-Wall -std=c99 +programs: elftype soname + elftype: elf/elftype.c $(CC) $(CFLAGS) -o $@ $+ @@ -11,9 +13,11 @@ install: elftype install -D zpm-note $(DESTDIR)/bin/zpm-note install -D zpm-bug $(DESTDIR)/bin/zpm-bug install -D zpm-sequence $(DESTDIR)/bin/zpm-sequence + install -D zpm-preserve $(DESTDIR)/bin/zpm-preserve install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/open install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/ack install -D elftype $(DESTDIR)/usr/sbin/elftype + install -D soname $(DESTDIR)/usr/sbin/soname #SPOOL=$(DESTDIR)/var/lib/admin/notes ./zpm-sequence -c notes