diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-05-15 23:35:32 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-05-15 23:35:32 +0200 |
commit | b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038 (patch) | |
tree | e5351f85127dbbcce425baf79c3b13a07dd901a2 /Makefile | |
parent | initial commit (diff) | |
download | prijave-b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038.tar prijave-b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038.tar.gz prijave-b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038.tar.bz2 prijave-b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038.tar.lz prijave-b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038.tar.xz prijave-b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038.tar.zst prijave-b6ecf4698e25b92b5b2c7bcf11d28e7ec9d64038.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -8,9 +8,11 @@ PROJ = prijave .NOTPARALLEL: default: $(CC) -L. $(cflags) $(CFLAGS) $(PROJ).c $(ldflags) $(LDFLAGS) -o$(PROJ) -install: - mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/etc + +install: default + mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/etc $(DESTDIR)/usr/share/$(PROJ) cp $(PROJ) $(DESTDIR)/usr/bin/ + cp *.html $(DESTDIR)/usr/share/$(PROJ)/ -[ ! -f $(DESTDIR)/etc/$(PROJ) ] && cp $(PROJ).conf $(DESTDIR)/etc/$(PROJ) distclean: clean |