Skip to content

Commit

Permalink
move LICENSE.txt in binary package
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbssa committed Jun 18, 2017
1 parent 31b59e2 commit 6693dfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/lib
/build32
/build64
/share
*.swp
*.o
*.exe
Expand Down
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ $(ZLIB_OBJ) : | zlib
$(INC): $(SRC_DIR)$(INC) | include
cp -fp $< $@

LICENSE.txt: $(SRC_DIR)LICENSE.txt
cp -fp $< $@

endif


share/licenses/dwarfstack/LICENSE.txt: $(SRC_DIR)LICENSE.txt
@mkdir -p share/licenses/dwarfstack
cp -fp $< $@


# libdwarf

$(DWARF_OBJ) $(DWARF_PE_OBJ): %.o: %.c
Expand Down Expand Up @@ -152,7 +154,7 @@ install: $(BUILD)


# package
package: $(BUILD) LICENSE.txt
package: $(BUILD) share/licenses/dwarfstack/LICENSE.txt
tar -cJf dwarfstack-$(DWST_VERSION)-mingw.tar.xz $^

package-src:
Expand Down

0 comments on commit 6693dfd

Please sign in to comment.