FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-09-2012, 09:05 PM
Sian Mountbatten
 
Default Make not installing man pages

Hi All.

I maintain a Debian package. There are two documents (man pages) in a
sub-directory. Here is the Makefile which should be installing the two
manpages into the /usr/share/man/man1 directory.

--
#!/usr/bin/make
#
#-------------- Documentation sources ---------------
ctrans_doc := compl.taylour star.txt

#--------------- Rules ---------------
.PHONY: install

all : rscompiler.dvi.gz ctrans.dvi.gz ctrans.info.gz
a68toc.1.gz ca.1.gz $(ctrans_doc)

rscompiler.dvi.gz : rscompiler.dvi
gzip -9 rscompiler.dvi

ctrans.info.gz : ctrans.texi
makeinfo $<
gzip -9 ctrans.info

ctrans.dvi.gz : ctrans.dvi
gzip -9 ctrans.dvi

a68toc.1.gz : a68toc.1
gzip -9c $< >$@

ca.1.gz : ca.1
gzip -9c $< >$@

install :
$(INSTALLDATA) -p rscompiler.dvi.gz ctrans.dvi.gz
compl.taylour star.txt $(DOCDIR)
$(INSTALLDATA) -p ctrans.info.gz $(INFODIR)
$(INSTALLDATA) -p a68toc.1.gz ca.1.gz $(MANDIR)
------------------
The last command, it seems to me, installs both a68toc.1.gz and ca.1.gz
into the MANDIR. The command INSTALLDATA is defined in the toplevel
Makefile as "$(INSTALL) -m 644" and INSTALL is defined as

"$(shell which install) -g root -o root"
MANDIR is defined in the toplevel Makefile as
$(DESTDIR)/usr/share/man/man1
where DESTDIR is provided by the package maker (the dh scripts).

What do I have to do to get the manpages installed? Everything else gets
installed properly. It's just these two files.


Sincerely
--
Sian Mountbatten
Algol 68 Specialist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: jjdurb$7fv$1@speranza.aioe.org">http://lists.debian.org/jjdurb$7fv$1@speranza.aioe.org
 
Old 03-10-2012, 02:26 AM
Chris Bannister
 
Default Make not installing man pages

On Fri, Mar 09, 2012 at 10:05:35PM +0000, Sian Mountbatten wrote:
> Hi All.
>
> I maintain a Debian package. There are two documents (man pages) in
> a sub-directory. Here is the Makefile which should be installing the
> two manpages into the /usr/share/man/man1 directory.

Pasting "installing man pages with make" into google brings up some
interesting results, and that's just on the first page!

Do you know about debhelper and dev-scripts?

Also, debian-mentors would be a better list for questions relating to
Debian package maintenance.

--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120310032610.GB3131@tal">http://lists.debian.org/20120310032610.GB3131@tal
 
Old 03-10-2012, 08:07 PM
Sian Mountbatten
 
Default Make not installing man pages

On 10/03/12 03:40, Chris Bannister wrote:

On Fri, Mar 09, 2012 at 10:05:35PM +0000, Sian Mountbatten wrote:

Hi All.

I maintain a Debian package. There are two documents (man pages) in
a sub-directory. Here is the Makefile which should be installing the
two manpages into the /usr/share/man/man1 directory.


Pasting "installing man pages with make" into google brings up some
interesting results, and that's just on the first page!

Do you know about debhelper and dev-scripts?

Also, debian-mentors would be a better list for questions relating to
Debian package maintenance.

I do know about debhelper and dev-scripts 'cos I use them. Your reply,
Chris, has given me much to read and, probably, I shall solve the
problem. In the meantime, TVM for your reply.

--
Sian Mountbatten
Algol 68 Specialist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: jjgfpv$641$1@speranza.aioe.org">http://lists.debian.org/jjgfpv$641$1@speranza.aioe.org
 

Thread Tools




All times are GMT. The time now is 10:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org