aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2013-05-09 21:06:03 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2013-05-09 21:06:03 -0400
commit203b7e5c384cc9dd620efb99b29776fb772cd70e (patch)
treed9a103491b7c7fee2c29298b20a57ddb2304e5aa /Makefile
parent395ad13da82d4fb42cb1edc2018c3538e2df4ec3 (diff)
downloadsos-203b7e5c384cc9dd620efb99b29776fb772cd70e.tar.gz
Fix latest debian packaging suggestions.
1) lintian information, you should run lintian with '-IE --pedantic', lintian will tell you more if there are any problem. There are still some lintian information, but I don't care of them. you may fix them when you polish your package. 2) You use old format copyright files, it is better to switch to DEP5[1] compatible format. lintian shows this information. 3) The section is python, but I think admin should be better, after all, sosreport is a sysadmin tool 4) Please move LICENSE file to usr/share/doc/sosreport, rather than remove it. A note about 4. I have removed the actual installing of the LICENSE file in the Makefile in favor of the distribution specific packaging handle it. For example, within Debian everything is placed in debian/copyright which removes the need for our Makefile to do anything with the LICENSE file. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30485c45..92e31171 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ install: updateversion
install -m755 sosreport $(DESTDIR)/usr/sbin/sosreport
install -m644 sosreport.1.gz $(DESTDIR)/usr/share/man/man1/.
install -m644 sos.conf.5.gz $(DESTDIR)/usr/share/man/man5/.
- install -m644 AUTHORS LICENSE README.md $(DESTDIR)/usr/share/$(NAME)/.
+ install -m644 AUTHORS README.md $(DESTDIR)/usr/share/$(NAME)/.
install -m644 $(NAME).conf $(DESTDIR)/etc/$(NAME).conf
for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done