Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Plugin Manuals: To all Plugin makers



Hi!

I already changed the Makefile in this way! The thing I sent you was just my 
first try to change a Makefile. Of course this looks like a much better way 
to do this!

Thanks!
Mario Aistleitner

On Saturday 01 March 2003 08:04, Reinhard Walter Buchner wrote:
> Hi Mario,
>
> You might want to try to change the Makefile the way
> Marcel did (+ my addon ,o)). I think this is the better
> way to go:
>
> ### Targets:
>
> all: libvdr-$(PLUGIN).so
> @install -d ../../man
> @install README ../../man/$(PLUGIN).man
> libvdr-$(PLUGIN).so: $(OBJS)
> $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
> @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
>
> dist: clean
> @-rm -rf $(TMPDIR)/$(ARCHIVE)
> @mkdir $(TMPDIR)/$(ARCHIVE)
> @cp -a * $(TMPDIR)/$(ARCHIVE)
> @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE)
> @-rm -rf $(TMPDIR)/$(ARCHIVE)
> @echo Distribution package created as $(PACKAGE).tgz
>
> clean:
> @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
> @-rm ../../man/$(PLUGIN).man
>
> Greetz,
> Reinhard
>
>
> ---
> Mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.443 / Virus Database: 248 - Release Date: 10.01.2003



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index