Skip to content

Commit

Permalink
Let original file name have .lua extension.
Browse files Browse the repository at this point in the history
This is to help GitHub correctly detect file type.
  • Loading branch information
hongquan committed May 8, 2020
1 parent 7bbe1d6 commit 8f67f87
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ debian/hddtemp-safe.*
debian/lua-hddtemp-safe*
debian/.debhelper
debian/files
# This file is copied from original file for Debian build only
hddtemp-safe
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ endif
endif

all:
@echo $(PREFIX)

install: hddtemp-safe

install: hddtemp-safe.lua
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp $< $(DESTDIR)$(PREFIX)/bin/
cp $< $(DESTDIR)$(PREFIX)/bin/hddtemp-safe

uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/hddtemp-safe
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
hddtemp-safe (0.1.2-1) focal; urgency=low

* Make original file name have .lua extension.

-- Nguyễn Hồng Quân <[email protected]> Fri, 08 May 2020 23:50:35 +0700


hddtemp-safe (0.1.1-2) focal; urgency=low

* Fix build config: The package is arch-independent.
Expand Down
2 changes: 1 addition & 1 deletion debian/install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hddtemp-safe usr/bin
hddtemp-safe usr/bin/
3 changes: 3 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

%:
dh $@ --buildsystem=lua --with lua

override_dh_auto_build:
cp hddtemp-safe.lua hddtemp-safe
1 change: 1 addition & 0 deletions debian/source/options
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
tar-ignore = ".git"
tar-ignore = hddtemp-safe
File renamed without changes.

0 comments on commit 8f67f87

Please sign in to comment.