Commit cd88fa69 authored by Federico Vaga's avatar Federico Vaga

sw: set proper permission to files on install(1)

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent d9225017
......@@ -9,9 +9,9 @@ clean:
install: all
install -d $(INCLUDEDESTDIR)/mockturtle
install -D mockturtle/*.h $(INCLUDEDESTDIR)/mockturtle
install -m 0644 mockturtle/*.h $(INCLUDEDESTDIR)/mockturtle
install -d $(INCLUDEDESTDIR)/mockturtle/hw
install -D mockturtle/hw/*.h $(INCLUDEDESTDIR)/mockturtle/hw
install -m 0644 mockturtle/hw/*.h $(INCLUDEDESTDIR)/mockturtle/hw
uninstall:
rm -f $(INCLUDEDESTDIR)/mockturtle/hw/*
......
......@@ -50,8 +50,8 @@ clean:
install: $(LIB) $(LIBS_XYZ)
install -d $(DESTLIBDIR)
install -D $(LIB) $(DESTLIBDIR)
install -D $(LIBS_XYZ) $(DESTLIBDIR)
install -m 0644 $(LIB) $(DESTLIBDIR)
install -m 0755 $(LIBS_XYZ) $(DESTLIBDIR)
test -e $(DESTLIBDIR)/$(LIBS) || ln -s $(LIBS_XYZ) $(DESTLIBDIR)/$(LIBS)
uninstall:
......
......@@ -35,7 +35,7 @@ all: $(PROGS)
install:
install -d $(BINDESTDIR)
install -D $(PROGS) $(BINDESTDIR)
install -m 0755 $(PROGS) $(BINDESTDIR)
uninstall:
rm -f $(addprefix $(BINDESTDIR)/,$(PROGS))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment