dpatch.make(7)


NAME

   dpatch.make - simplistic wrapper around dpatch(1) for make(1).

SYNOPSIS

   include /usr/share/dpatch/dpatch.make

DESCRIPTION

   For  backwards  compatibility  and ease of use, dpatch.make is provided
   along with dpatch(1). Its purpose is to  implement  generic  patch  and
   unpatch rules that can be reused in debian/rules scripts.

WARNING

   dpatch  is deprecated, please switch to the `3.0 (quilt)' Debian source
   package               format                instead.                See
   http://wiki.debian.org/Projects/DebSrc3.0#FAQ  for a short guide on how
   to do it.

USAGE

   Using dpatch.make is rather straightforward: one  has  to  include  the
   file in debian/rules, change the appropriate targets to depend on patch
   and unpatch, and that is all it takes.

   Figuring out what the appropriate target  is,  requires  some  thought.
   Generally,  one  has a build target, or config.status, or configure (or
   any of these with a -stamp suffix). Most of the time these  are  called
   first  during  the  build, so one of these (the one that exists, and is
   not depended upon by another one) has to be modified to depend  on  the
   patch target in dpatch.make.

   Doing  the  same for the clean target is easier. One only has to rename
   the old rule to, say, clean-patched, then  make  a  new  one  that  has
   clean-patched and unpatch in its list of prerequisites.

CUSTOMISATION

   There  are  a few variables which are used by dpatch.make, which can be
   set before including it, in order to change  the  systems  behaviour  a
   little.

   These variables are:

          DEB_SOURCE_PACKAGE
                 This  is  the  name  of  the  source  package,  used when
                 creating the stamp file. By default, it is empty.
          DPATCH_STAMPDIR
                 This is the directory where  stamp  files  will  be  put.
                 Default is debian/patched.
          DPATCH_STAMPFN
                 The  name  of  the  stamp  file, which contains the patch
                 descriptions and other possible meta-data. Default  value
                 is patch-stamp.
          DPATCH_PREDEPS
                 A  list  of  make  targets  to  call  before applying the
                 dpatch.
          DPATCH_WORKDIR
                 The target directory to apply patches to. By default,  it
                 is the current directory.
          PATCHLIST
                 The  list  of patches to apply. This is an alternative to
                 debian/patches/00list - that is, if this variable is  not
                 empty,  the  contents of 00list will be ignored, and this
                 variable will be used instead.

EXAMPLE

           include /usr/share/dpatch/dpatch.make

           build: build-stamp
           build-stamp: patch-stamp
               ${MAKE}
               touch build-stamp

           clean: clean1 unpatch
           clean1:
               ${MAKE} clean
               rm -rf debian/files debian/substvars debian/imaginary-package

           .PHONY: patch unpatch ...
               .
               .
               .

SIDE EFFECTS

   Using dpatch.make instead of  calling  dpatch  directly  has  one  side
   effect:  it  will  create  a  file  called  patch-stamp containing some
   meta-information extracted from the scriptlets.

   Depending on a phony patch target directly from build target may  cause
   build target to be reevaluated even when there is no change to be done.
   Instead, try making build-stamp depend on patch-stamp as  specified  in
   this example.

AUTHOR

   Originally by Gergely Nagy.  Modified by Junichi Uekawa.

SEE ALSO

   dpatch(1),   dpatch(7),   dpatch-edit-patch(1),   dpatch-list-patch(1),
   dpatch-convert-diffgz(1)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.