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: ...@@ -9,9 +9,9 @@ clean:
install: all install: all
install -d $(INCLUDEDESTDIR)/mockturtle install -d $(INCLUDEDESTDIR)/mockturtle
install -D mockturtle/*.h $(INCLUDEDESTDIR)/mockturtle install -m 0644 mockturtle/*.h $(INCLUDEDESTDIR)/mockturtle
install -d $(INCLUDEDESTDIR)/mockturtle/hw install -d $(INCLUDEDESTDIR)/mockturtle/hw
install -D mockturtle/hw/*.h $(INCLUDEDESTDIR)/mockturtle/hw install -m 0644 mockturtle/hw/*.h $(INCLUDEDESTDIR)/mockturtle/hw
uninstall: uninstall:
rm -f $(INCLUDEDESTDIR)/mockturtle/hw/* rm -f $(INCLUDEDESTDIR)/mockturtle/hw/*
......
...@@ -50,8 +50,8 @@ clean: ...@@ -50,8 +50,8 @@ clean:
install: $(LIB) $(LIBS_XYZ) install: $(LIB) $(LIBS_XYZ)
install -d $(DESTLIBDIR) install -d $(DESTLIBDIR)
install -D $(LIB) $(DESTLIBDIR) install -m 0644 $(LIB) $(DESTLIBDIR)
install -D $(LIBS_XYZ) $(DESTLIBDIR) install -m 0755 $(LIBS_XYZ) $(DESTLIBDIR)
test -e $(DESTLIBDIR)/$(LIBS) || ln -s $(LIBS_XYZ) $(DESTLIBDIR)/$(LIBS) test -e $(DESTLIBDIR)/$(LIBS) || ln -s $(LIBS_XYZ) $(DESTLIBDIR)/$(LIBS)
uninstall: uninstall:
......
...@@ -35,7 +35,7 @@ all: $(PROGS) ...@@ -35,7 +35,7 @@ all: $(PROGS)
install: install:
install -d $(BINDESTDIR) install -d $(BINDESTDIR)
install -D $(PROGS) $(BINDESTDIR) install -m 0755 $(PROGS) $(BINDESTDIR)
uninstall: uninstall:
rm -f $(addprefix $(BINDESTDIR)/,$(PROGS)) 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