improved configure, handing of photos better in the place gallery

svn: r427
This commit is contained in:
Don Allingham 2001-09-25 14:33:39 +00:00
parent 5486e29baf
commit bd668004f8
4 changed files with 82 additions and 81 deletions

View File

@ -17,7 +17,6 @@ AC_SUBST(PYTHON_VERSION)
AC_SUBST(PACKAGE) AC_SUBST(PACKAGE)
AC_SUBST(GNOMEHELP) AC_SUBST(GNOMEHELP)
AC_SUBST(LIBS) AC_SUBST(LIBS)
AC_SUBST(INCS)
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_MAKE_SET AC_PROG_MAKE_SET

View File

@ -154,7 +154,7 @@
</screenshot> </screenshot>
</figure> </figure>
<para> <para>
The second page of the start up screens will prompt you for The second page of the start-up screens will prompt you for
some personal information. This information is optional, and some personal information. This information is optional, and
can be changed at any time. The information will be used to can be changed at any time. The information will be used to
establish your copyright on the information, and to provide establish your copyright on the information, and to provide
@ -201,10 +201,11 @@
<guibutton>OK</guibutton> to import the file. The <guibutton>OK</guibutton> to import the file. The
<interface>GEDCOM Import Status</interface> will tell you what <interface>GEDCOM Import Status</interface> will tell you what
the importer is doing and a little bit about your file (file the importer is doing and a little bit about your file (file
location, what program it was created by, the version, Encoding, location, which program created it, the version, Encoding,
Number of Families, Number of People, and the Number of Errors). Number of Families, Number of People, and the Number of Errors).
Once the Importer is done, you can click close and start Once the Importer is done, you can click
editing/adding to your file. <guibutton>Close</guibutton> and start editing/adding to your
file.
</para> </para>
</sect2> </sect2>
<sect2 id="noimport"> <sect2 id="noimport">
@ -227,7 +228,7 @@
<guibutton>Source</guibutton> button and/or a <guibutton>Source</guibutton> button and/or a
<guibutton>Note</guibutton> button. These buttons are there to <guibutton>Note</guibutton> button. These buttons are there to
add more information (<guibutton>Source</guibutton> button to add more information (<guibutton>Source</guibutton> button to
add the source of where you got the information and the add the source of where you acquired the information and the
<guibutton>Note</guibutton> button to add more detail to the <guibutton>Note</guibutton> button to add more detail to the
information) information)
</para> </para>
@ -242,7 +243,7 @@
The People View window is the initial view seen on the main The People View window is the initial view seen on the main
window. It displays the name, gender, birth date, and death window. It displays the name, gender, birth date, and death
date of all individuals in the database. At any time, you can date of all individuals in the database. At any time, you can
return to the this view either by pressing the return to this view either by pressing the
<guibutton>People</guibutton> button at the top of the screen, or <guibutton>People</guibutton> button at the top of the screen, or
by choosing the by choosing the
<menuchoice> <menuchoice>
@ -325,12 +326,12 @@
in the list can be sorted by three of the fields: Name, Birth in the list can be sorted by three of the fields: Name, Birth
Date, or Death Date. Clicking on the column label will cause Date, or Death Date. Clicking on the column label will cause
the list to be re-sorted by that column. Arrows on the label the list to be re-sorted by that column. Arrows on the label
indicate whether the list is sort by ascending or descending indicate whether the list is sorted by ascending or descending
order. order.
</para> </para>
<para> <para>
If the list is already sorted by a particular column, clicking If the list is already sorted by a particular column, clicking
on the same column label will switch sorting order. For on the same column label will switch the sorting order. For
example, if the list is currently sorted in ascending order by example, if the list is currently sorted in ascending order by
Name, clicking on the Name column header will re-sort the list Name, clicking on the Name column header will re-sort the list
in descending order. in descending order.
@ -356,7 +357,7 @@
<para> <para>
The General Information tab contains the basic information about The General Information tab contains the basic information about
the person. This includes the person's name, gender, birth the person. This includes the person's name, gender, birth
informaton, and death informaton. information, and death information.
</para> </para>
<para> <para>
If images have been associated with the person, the primary If images have been associated with the person, the primary
@ -375,7 +376,7 @@
</figure> </figure>
<para> <para>
It is possible for people to use more than one name during their It is possible for people to use more than one name during their
lifetime. These may be legal names changes, or just informal lifetime. These may be legal name changes, or just informal
names. An example would be a person changing his or her name due names. An example would be a person changing his or her name due
to marriage or adoption. <application>GRAMPS</application> to marriage or adoption. <application>GRAMPS</application>
allows multiple alternate names to be specified for each person. allows multiple alternate names to be specified for each person.
@ -383,10 +384,10 @@
<para> <para>
The <interface>Alternate Names</interface> tab allows additional The <interface>Alternate Names</interface> tab allows additional
names to be added or removed from list. Clicking the names to be added or removed from list. Clicking the
<guibutton>Add</guibutton> allows a new name to be added to the <guibutton>Add</guibutton> button allows a new name to be added
list. The <guibutton>Edit/View</guibutton> allows the selected to the list. The <guibutton>Edit/View</guibutton> allows the
alternate name to be edited. The <guibutton>Delete</guibutton> selected alternate name to be edited. The
removes the selected name. <guibutton>Delete</guibutton> button removes the selected name.
</para> </para>
</sect2> </sect2>
<sect2 id="eventtab"> <sect2 id="eventtab">
@ -399,7 +400,7 @@
choose. choose.
</para> </para>
<para> <para>
An event consists of a name of an event (such as "Baptism" or An event consists of the name of an event (such as "Baptism" or
"Education"), a date or date range on which the event occurred, "Education"), a date or date range on which the event occurred,
the place where the event occurred, and a description of the the place where the event occurred, and a description of the
event. A note or a source may also be attached to the event. event. A note or a source may also be attached to the event.
@ -439,11 +440,11 @@
the window. the window.
</para> </para>
<para> <para>
An event may be added by by clicking the An event may be added by clicking the <guibutton>Add</guibutton>
<guibutton>Add</guibutton> button. This displays a form which button. This displays a form that allows you to enter the
allows you to enter the information about the particular information about the particular event. The
event. The <guibutton>Edit/View</guibutton> button allows to view <guibutton>Edit/View</guibutton> button allows to view or to
or alter the information of the currently displayed event. The alter the information of the currently displayed event. The
<guibutton>Delete</guibutton> button allows you to delete the <guibutton>Delete</guibutton> button allows you to delete the
currently displayed event. currently displayed event.
</para> </para>
@ -452,9 +453,10 @@
<title>Attributes Tab</title> <title>Attributes Tab</title>
<para> <para>
Attributes are similar to events, but are for information items Attributes are similar to events, but are for information items
that do not necessary have the concept of a place or a date. An that do not necessarily have the concept of a place or a
example would be person's Social Security Number or National date. An example would be a person's Social Security Number or
origin. Attributes consist of an attribute name and its value. national origin. Attributes consist of an attribute name and its
value.
</para> </para>
<para> <para>
Like events, attributes may also have a note, source, privacy Like events, attributes may also have a note, source, privacy
@ -477,11 +479,11 @@
the top of the window. the top of the window.
</para> </para>
<para> <para>
An attribute may be added by by clicking the An attribute may be added by clicking the
<guibutton>Add</guibutton> button. This displays a form which <guibutton>Add</guibutton> button. This displays a form that
allows you to enter the information about the particular allows you to enter the information about the particular
attribute. The <guibutton>Edit/View</guibutton> button allows to attribute. The <guibutton>Edit/View</guibutton> button allows to
view or alter the information of the currently displayed view or to alter the information of the currently displayed
attribute. The <guibutton>Delete</guibutton> button allows you to attribute. The <guibutton>Delete</guibutton> button allows you to
delete the currently displayed attribute. delete the currently displayed attribute.
</para> </para>
@ -491,10 +493,10 @@
<para> <para>
Addresses are used to record information about where a person Addresses are used to record information about where a person
has lived. Addresses are different from has lived. Addresses are different from
<application>GRAMPS'</application> concept of a place. A address <application>GRAMPS'</application> concept of a place. An
as <application>GRAMPS</application> sees it consists of an address, as <application>GRAMPS</application> sees, it consists
equivalent of a mailing address and the date or date range when of an equivalent of a mailing address and the date or date range
the person lived at the address. when the person lived at the address.
</para> </para>
<para> <para>
Like events and attributes, addresses may also have a note, Like events and attributes, addresses may also have a note,
@ -518,11 +520,11 @@
the top of the window. the top of the window.
</para> </para>
<para> <para>
An address may be added by by clicking the An address may be added by clicking the
<guibutton>Add</guibutton> button. This displays a form which <guibutton>Add</guibutton> button. This displays a form that
allows you to enter the information about the particular allows you to enter the information about the particular
address. The <guibutton>Edit/View</guibutton> button allows to address. The <guibutton>Edit/View</guibutton> button allows to
view or alter the information of the currently displayed view or to alter the information of the currently displayed
address. The <guibutton>Delete</guibutton> button allows you to address. The <guibutton>Delete</guibutton> button allows you to
delete the currently displayed address. delete the currently displayed address.
</para> </para>
@ -562,7 +564,7 @@
are advantages and disadvatages to both approaches. Refering to are advantages and disadvatages to both approaches. Refering to
an external copy reduces disk space. Allowing an external copy reduces disk space. Allowing
<application>GRAMPS</application> to make its own copy <application>GRAMPS</application> to make its own copy
eliminates allows GRAMPS to still have the image if the orignal allows GRAMPS to still have the image if the original
is altered, deleted, or moved. It also simplifies the transfer is altered, deleted, or moved. It also simplifies the transfer
of a database from one machine to another. of a database from one machine to another.
</para> </para>
@ -639,9 +641,9 @@
<para> <para>
Frequently, information about a person is available on the Frequently, information about a person is available on the
internet, frequently on someone else's web site. With multiple internet, frequently on someone else's web site. With multiple
people researching the same family, is desirable to keep track people researching the same family, it is desirable to keep track
of internet sites that contain information about someone in your of internet sites that contain information about someone in your
database. This allows you to keep track of the web sites you you database. This allows you to keep track of the web sites you
can periodically check them for any addition information. can periodically check them for any addition information.
</para> </para>
<figure id="ep_internet-fig"> <figure id="ep_internet-fig">
@ -666,8 +668,8 @@
to display the site using the GNOME default browser. to display the site using the GNOME default browser.
</para> </para>
<para> <para>
An internet address may be added by by clicking the An internet address may be added by clicking on the
<guibutton>Add</guibutton> button. This displays a form which <guibutton>Add</guibutton> button. This displays a form that
allows you to enter the information about the internet allows you to enter the information about the internet
address. This information consists of the web address (URL) and address. This information consists of the web address (URL) and
a description of the location. The a description of the location. The
@ -682,7 +684,7 @@
<title>Family View</title> <title>Family View</title>
<para> <para>
The Family View window displays the spouses, parents, and children The Family View window displays the spouses, parents, and children
of the active person. At any time, you can return to the this view of the active person. At any time, you can return to this view
either by pressing the <guibutton>Family</guibutton> button at the either by pressing the <guibutton>Family</guibutton> button at the
top of the screen, or by choosing the top of the screen, or by choosing the
<menuchoice> <menuchoice>
@ -702,7 +704,7 @@
<para> <para>
In the Family View, the family information related to the active In the Family View, the family information related to the active
person is displayed. This information falls into two categories: person is displayed. This information falls into two categories:
families in which the person is a child, and families in which families in which the person is a child, and families in which the
person is a spouse or parent. person is a spouse or parent.
</para> </para>
<sect2 id="ap_parents"> <sect2 id="ap_parents">
@ -714,7 +716,7 @@
family relationships for each person. For example, a person may family relationships for each person. For example, a person may
have natural birth parents and adopted parents. In this case, an have natural birth parents and adopted parents. In this case, an
option menu will appear below the parents names, allowing you to option menu will appear below the parents names, allowing you to
choose which set of parents you which to view. choose which set of parents you wish to view.
</para> </para>
<para> <para>
Pressing the <guibutton>Add/Edit Parents</guibutton> Pressing the <guibutton>Add/Edit Parents</guibutton>
@ -749,8 +751,8 @@
On the left side of the window, below the active person's name, On the left side of the window, below the active person's name,
is the information related to the person's marriages and is the information related to the person's marriages and
relationships. If the person has one or no relationships, the relationships. If the person has one or no relationships, the
spouse will appear within a non-editable text box. If more that spouse will appear within a non-editable text box. If more than
one relationships exist, the text box will be replaced with an one relationship exists, the text box will be replaced with an
option menu that allows you to select the relationship to view. option menu that allows you to select the relationship to view.
</para> </para>
<para> <para>
@ -786,8 +788,8 @@
The <guibutton>Remove</guibutton> button removes the current The <guibutton>Remove</guibutton> button removes the current
spouse from the relationship. If no children exist in the spouse from the relationship. If no children exist in the
relationship, the entire relationship is removed. If children relationship, the entire relationship is removed. If children
exist in the relationship, the the current spouse is removed, exist in the relationship, the current spouse is removed,
and the children remain in a family with active person as the and the children remain in a family with the active person as the
only parent. only parent.
</para> </para>
</sect2> </sect2>
@ -809,7 +811,7 @@
not delete the person from the database. not delete the person from the database.
</para> </para>
<para> <para>
Double clicking on a entry in the list brings up the Double clicking on an entry in the list brings up the
<interface>Edit Person</interface> dialog for the child. <interface>Edit Person</interface> dialog for the child.
</para> </para>
<para> <para>
@ -824,7 +826,7 @@
<para> <para>
The Pedigree View window displays the active person, the active The Pedigree View window displays the active person, the active
person's parents, and the active parent's grandparents in a person's parents, and the active parent's grandparents in a
somewhat graphical manner. At any time, you can return to the this somewhat graphical manner. At any time, you can return to this
view either by pressing the Pedigree button at the top of the view either by pressing the Pedigree button at the top of the
screen, or by choosing the screen, or by choosing the
<menuchoice> <menuchoice>
@ -846,7 +848,7 @@
information about a person, including their date of birth and date information about a person, including their date of birth and date
of death. Double-clicking the box will display the <interface>Edit of death. Double-clicking the box will display the <interface>Edit
Person</interface> dialog box for the person. Holding down the Person</interface> dialog box for the person. Holding down the
Shift key while double-clicking will will make that person the Shift key while double clicking will will make that person the
active person. active person.
</para> </para>
<para> <para>
@ -860,9 +862,9 @@
person's father (top button) or mother (bottom button), person's father (top button) or mother (bottom button),
effectively shifting the pedigree view to the right, or up one effectively shifting the pedigree view to the right, or up one
generation. If the active person does not have any children, then generation. If the active person does not have any children, then
the button on the left hand side of the screen will not the button on the left-hand side of the screen will not
appear. Similarly, if the active person does have a father or appear. Similarly, if the active person does have a father or
mother, the corresponding button on the right hand side of the mother, the corresponding button on the right-hand side of the
screen will not appear. screen will not appear.
</para> </para>
<figure id="navfigure-fig"> <figure id="navfigure-fig">
@ -875,11 +877,11 @@
</figure> </figure>
<para> <para>
As a quick short cut, double clicking on a line between two people As a quick short cut, double clicking on a line between two people
will make the person on the right hand side of the line the active will make the person on the right-hand side of the line the active
person. <xref linkend="navfigure-fig"> shows navigation using this person. <xref linkend="navfigure-fig"> shows navigation using this
method. When the mouse is over one of the lines connecting method. When the mouse is over one of the lines connecting
individuals, the line widens and becomes highlighted. In this individuals, the line widens and becomes highlighted. In this
case, double-clcking on the line would make Hjalmar Smith the case, double clcking on the line would make Hjalmar Smith the
active person. active person.
</para> </para>
</sect1> </sect1>
@ -887,8 +889,8 @@
<sect1 id="sourcelist"> <sect1 id="sourcelist">
<title>Source View</title> <title>Source View</title>
<para> <para>
The Source View window displays the different sources which have The Source View window displays the different sources that have
been entered into the database. At any time, you can return to the been entered into the database. At any time, you can return to
this view either by pressing the <guibutton>Sources</guibutton> this view either by pressing the <guibutton>Sources</guibutton>
button at the top of the screen, or by choosing the button at the top of the screen, or by choosing the
<menuchoice> <menuchoice>
@ -915,8 +917,8 @@
<sect1 id="placelist"> <sect1 id="placelist">
<title>Place View</title> <title>Place View</title>
<para> <para>
The Place View window displays the different sources which have The Place View window displays the different sources that have
been entered into the database. At any time, you can return to the been entered into the database. At any time, you can return to
this view either by pressing the <guibutton>Places</guibutton> this view either by pressing the <guibutton>Places</guibutton>
button at the top of the screen, or by choosing the button at the top of the screen, or by choosing the
<menuchoice> <menuchoice>
@ -1061,7 +1063,7 @@
<listitem> <listitem>
<para> <para>
<application>GRAMPS</application> normally compresses its <application>GRAMPS</application> normally compresses its
data file to conserve disk space. If you do not which to data file to conserve disk space. If you do not whish to
have the file compressed, selecting this option will cause have the file compressed, selecting this option will cause
<application>GRAMPS</application> to leave the file <application>GRAMPS</application> to leave the file
uncompressed. This may be desirable if other applications uncompressed. This may be desirable if other applications
@ -1074,7 +1076,7 @@
<listitem> <listitem>
<para> <para>
When this is selected there will be a row of tabs below When this is selected there will be a row of tabs below
the tool bars for the Person View, Family Fiew, Pedigree the tool bars for the Person View, Family View, Pedigree
View, and Sources View. View, and Sources View.
</para> </para>
</listitem> </listitem>
@ -1125,7 +1127,7 @@
and names. Options exist for several different date and names. Options exist for several different date
formats. Names can be displayed with either the given name formats. Names can be displayed with either the given name
or the surname first. This option typically does not or the surname first. This option typically does not
affect lists which are sorted by last name, in which case affect lists that are sorted by last name, in which case
the surname is displayed first. the surname is displayed first.
</para> </para>
</listitem> </listitem>
@ -1149,13 +1151,13 @@
<figure id="prefs_appear"> <figure id="prefs_appear">
<title>Preferences Dialog</title> <title>Preferences Dialog</title>
<screenshot> <screenshot>
<screeninfo>Appearence Preferences Dialog</screeninfo> <screeninfo>Appearance Preferences Dialog</screeninfo>
<graphic fileref="prefs_appear" format="png" srccredit="Don Allingham"> <graphic fileref="prefs_appear" format="png" srccredit="Don Allingham">
</graphic> </graphic>
</screenshot> </screenshot>
</figure> </figure>
<variablelist> <variablelist>
<title>Appearence Preferences</title> <title>Appearance Preferences</title>
<varlistentry> <varlistentry>
<term><guilabel>Custom Colors</guilabel></term> <term><guilabel>Custom Colors</guilabel></term>
<listitem> <listitem>
@ -1173,9 +1175,9 @@
<term><guilabel>Status Bar</guilabel></term> <term><guilabel>Status Bar</guilabel></term>
<listitem> <listitem>
<para> <para>
Allows you can change the information displayed in the Allows you to change the information displayed in the
status bar at the bottom of the window. There are three status bar at the bottom of the window. There are three
(3) preferences you can chose from. The first is Active (3) preferences from which to chose. The first is Active
person's name only - this will display the active person's person's name only - this will display the active person's
name only in the status bar. The second is Active name only in the status bar. The second is Active
person's name and GRAMPS ID - This will display the name person's name and GRAMPS ID - This will display the name
@ -1191,10 +1193,10 @@
<term><guilabel>List Display Options</guilabel></term> <term><guilabel>List Display Options</guilabel></term>
<listitem> <listitem>
<para> <para>
Allows to control what gets displayed in lists. You can Allows you to control what gets displayed in lists. You can
control if alternate names are displayed in the lists, or control if alternate names are displayed in the lists, or
if the lists will contain detail flags to indicate if the lists will contain detail flags to indicate
additional information (such as the presense of notes, additional information (such as the presence of notes,
sources, or images). sources, or images).
</para> </para>
</listitem> </listitem>
@ -1234,8 +1236,8 @@
different paper sizes. Selecting a <guilabel>Preferred Output different paper sizes. Selecting a <guilabel>Preferred Output
Format</guilabel> and a <guilabel>Preferred Output Format</guilabel> and a <guilabel>Preferred Output
Format</guilabel> tells the report generator your Format</guilabel> tells the report generator your
preferences. It should be noted that a report generator may not preferences. It should be noted that a report generator might
support all possible formats. not support all possible formats.
</para> </para>
</sect2> </sect2>
<sect2 id="prefs_tab5"> <sect2 id="prefs_tab5">
@ -1261,9 +1263,9 @@
<title>Generating Reports</title> <title>Generating Reports</title>
<para> <para>
<application>GRAMPS</application> can produce a wide variety of <application>GRAMPS</application> can produce a wide variety of
reports. New report generators can be written by the user without reports. A new report generator can be written by the user without
modifying the main program. For this reason, there may be more modifying the main program. For this reason, there may be more
reports available than are documented by this manual reports available than are documented by this manual.
</para> </para>
<figure id="report-fig"> <figure id="report-fig">
<title>Report Generation Dialog</title> <title>Report Generation Dialog</title>
@ -1280,11 +1282,11 @@
are understood by other programs. These formats include are understood by other programs. These formats include
OpenOffice, AbiWord, PDF, and HTML, among others. This allows the OpenOffice, AbiWord, PDF, and HTML, among others. This allows the
generated reports to be modified after they are generated, stored generated reports to be modified after they are generated, stored
for use later, or emailed to another person. for use at a later time, or e-mailed to another person.
</para> </para>
<para> <para>
After selecting the report you would like generated there are After selecting the report you would like generated there are
option you must select. In the Save As option specify your file options you must select. In the Save As option specify your file
name (use /full path/filename to specify a different directory name (use /full path/filename to specify a different directory
than in your Default Report Directory preference in the than in your Default Report Directory preference in the
preferences). The next step is to select the Report Format. preferences). The next step is to select the Report Format.
@ -1298,10 +1300,9 @@
and dorders). Once you are satisfied with the style you are ready and dorders). Once you are satisfied with the style you are ready
to proceed with the generation of your report. The next step is to proceed with the generation of your report. The next step is
to choose the options (if any for that specific report) and then to choose the options (if any for that specific report) and then
Choose the Templete (for HTML format only) and click OK. Your Choose the Template (for HTML format only) and click OK. Your
report will now be in default report directory (unless otherwise report will now be in default report directory (unless otherwise
specified) for you to view the program you specified the report to specified).
be generated for.
</para> </para>
<sect2 id="htmltemplates"> <sect2 id="htmltemplates">
<title>Using HTML templates</title> <title>Using HTML templates</title>
@ -1319,7 +1320,7 @@
as the target format, the user can select an HTML template to be as the target format, the user can select an HTML template to be
used. Since the template is chosen at report generation time, a used. Since the template is chosen at report generation time, a
different template may be chosen each time, allowing the user to different template may be chosen each time, allowing the user to
change the appearence of the generated files at any time. change the appearance of the generated files at any time.
Nearly any existing HTML file can be used as an HTML template Nearly any existing HTML file can be used as an HTML template
for <application>GRAMPS</application>. for <application>GRAMPS</application>.
</para> </para>
@ -1327,8 +1328,8 @@
When a file has been established as the HTML template file, When a file has been established as the HTML template file,
<application>GRAMPS</application> uses the template for each <application>GRAMPS</application> uses the template for each
file that it generates. <application>GRAMPS</application> starts file that it generates. <application>GRAMPS</application> starts
each file by copying data from the template until it reaches an each file by copying data from the template until it reaches the
HTML comment uses as a marker. At that point, HTML comment, which it uses as a marker. At that point,
<application>GRAMPS</application> inserts its data into the <application>GRAMPS</application> inserts its data into the
output file. <application>GRAMPS</application> the continues output file. <application>GRAMPS</application> the continues
reading the until it reaches a second comment that tells it to reading the until it reaches a second comment that tells it to

View File

@ -205,7 +205,7 @@ class EditPlace:
thumb = "%s%s.thumb%s%s" % (self.path,os.sep,os.sep,src) thumb = "%s%s.thumb%s%s" % (self.path,os.sep,os.sep,src)
else: else:
thumb = "%s%s.thumb%s%s.jpg" % (self.path,os.sep,os.sep,os.path.basename(src)) thumb = "%s%s.thumb%s%s.jpg" % (self.path,os.sep,os.sep,os.path.basename(src))
RelImage.check_thumb(src,thumb,const.thumbScale) RelImage.check_thumb(phto.getPath(),thumb,const.thumbScale)
self.photo_list.append(thumb,photo.getDescription()) self.photo_list.append(thumb,photo.getDescription())
#------------------------------------------------------------------------- #-------------------------------------------------------------------------

View File

@ -5,7 +5,8 @@ datadir = @datadir@/@PACKAGE@
INSTALL = @INSTALL@ INSTALL = @INSTALL@
srcdir = @top_srcdir@ srcdir = @top_srcdir@
pycomp = ${srcdir}/py-compile pycomp = ${srcdir}/py-compile
CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@ CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
LDFLAGS = @LDFLAGS@ -L@libdir@ @LIBS@
LANG = sv de fr es LANG = sv de fr es
@SET_MAKE@ @SET_MAKE@
@ -15,7 +16,7 @@ all: intl.so
${pycomp} *.py ${pycomp} *.py
intl.so: intl.c intl.so: intl.c
$(CC) $(CFLAGS) -o intl.so intl.c $(CC) $(CFLAGS) $(LDFLAGS) -o intl.so intl.c
install: install:
${INSTALL} -d ${datadir} ${INSTALL} -d ${datadir}